docker-archive / dockercloud-haproxy

HAproxy image that autoreconfigures itself when used in Docker Cloud
https://cloud.docker.com/
652 stars 181 forks source link

CA_CERT conflicts with DEFAULT_SSL_CERT #121

Closed abuisine closed 7 years ago

abuisine commented 8 years ago

adding CA_CERT to my existing configuration which uses DEFAULT_SSL_CERT resulted in CA_CERT loading /certs/cert0.pem which is the certificate provided in DEFAULT_SSL_CERT.

I workarounded the issue by loading an EXTRA_SSL_CERTS: 'CERT1' and EXTRA_BIND_SETTINGS: '443:ca-file /certs/cert1.pem verify required'