Skip to content

Instantly share code, notes, and snippets.

@voz
Forked from alfonsodev/gist:10597209
Created December 7, 2015 10:00
Show Gist options
  • Save voz/4434566b2f1fd93e6ccd to your computer and use it in GitHub Desktop.
Save voz/4434566b2f1fd93e6ccd to your computer and use it in GitHub Desktop.
gandi.net ssl https
Gandi.net ssl certificate working with haproxy
In one file concatenate the certifcate with the private key (domain.pem in the example)
In other file just the intermediate ceritificate (gandi.ca.pem in the example) then in your haproxy.cfg
bind *:443 ssl crt /home/.ssh/domain.pem ca-file /home/.ssh/gandi.ca.pem
frontend https-in
bind *:443 ssl crt /home/.ssh/domain.pem ca-file /home/.ssh/gandi.ca.pem
timeout client 1h
default_backend www_domain_com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment