Skip to content

Instantly share code, notes, and snippets.

@mwaaas
Last active April 29, 2017 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwaaas/37a39b8ba85d29543bf26c4680e514d3 to your computer and use it in GitHub Desktop.
Save mwaaas/37a39b8ba85d29543bf26c4680e514d3 to your computer and use it in GitHub Desktop.
docker cloud ssl haproxy configuration
The following instructions to add ssl in haproxy
1. Create crs file check in this link on how to create https://support.rackspace.com/how-to/generate-a-csr-with-openssl/
2. Get crt and ca file from autorizing organisation
3. copy your private key to another file. eg foo.text
4. cat {crt you got from authorization} >> foo.text
5. cat {cat you got from authorization company} >> foo.text
5. convert to format that haproxy support awk 1 ORS='\\n' cert1.pem
6. add environment to haproxy key as DEFAULT_SSL_CERT and value as the outcome of step 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment