mantl / consul-cli

Command line interface to Consul HTTP API
Apache License 2.0
251 stars 67 forks source link

Only require CA cert when using --ssl-verify. #18

Closed jmalloc closed 8 years ago

jmalloc commented 8 years ago

This PR the --ssl-ca-cert flag to only be required when --ssl-verify is true, otherwise the client certificate and key are adequate.

This builds and works fine for me, but fair warning, but I'm an absolute Go noob, so scrutinise away! :)

jmalloc commented 8 years ago

Thank you! :)