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.
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.