Add support for communicating with Consul over TLS #14
Loading…
Reference in a new issue
No description provided.
Delete branch "consul-tls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As the title says, Diplonat can now communicate with Consul over a TLS connection. This is usefull to create a more secure environment where access to Consul is restricted to holders of client keys (we are doing this on the staging cluster, see
nixcfg
repo).This adds the following three environment variables:
DIPLONAT_CONSUL_CA_CERT
DIPLONAT_CONSUL_CLIENT_CERT
DIPLONAT_CONSUL_CLIENT_KEY
which expect file paths, similar to those used by the Consul CLI.
To use TLS, remember to also set the
DIPLONAT_CONSUL_URL
to anhttps://
URL !04528d1e60
toe7f6c15bc1
Merged with #16
Pull request closed