Skip to content

Instantly share code, notes, and snippets.

@alfonsodev
Created April 13, 2014 18:56
Show Gist options
  • Select an option

  • Save alfonsodev/10597209 to your computer and use it in GitHub Desktop.

Select an option

Save alfonsodev/10597209 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