outbrain / orchestrator-agent

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

Support specific certificate support when using mutual TLS #7

Closed grierj closed 9 years ago

grierj commented 9 years ago

This updates the httpGet method to use the provided ssl cert/key when making GET requests. This is needed to correctly talk back to orchestrator when doing OU filtering on the server side

This also follows in the footsteps of the server and breaks the ssl/tls functions out into their own library to avoid circular imports.

The ssl.go and ssl_test.go are 100% identical to the orchestrator server side now.

shlomi-noach commented 9 years ago

"This branch has conflicts that must be resolved". Can you please first look into: there have been no other pull requests other than yours in orchestrator-agent. I'm guessing this pull requests merges your previous one; am away from more elaborate technical tests now.

grierj commented 9 years ago

Ok, rebased and repushed to my branch. All green now.