outbrain / orchestrator-agent

MySQL replication topology manager - agent (daemon)
Apache License 2.0
35 stars 53 forks source link

Adding Mutual TLS to the Agent #5

Closed grierj closed 9 years ago

grierj commented 9 years ago

This adds mutual TLS capabilities to the API for the agent. This change is basically the same as the changes made to the orchestrator server, including ssl.go being identical.

I'm open to suggestions about how to share this between the two if the C&P method of the moment is too horrible to bear :)

I mildly altered the build script so that GOPATH is preserved at whatever it used to be (plus the new path) and I fixed up some syntax errors I got when trying to build.