Skip to content

Instantly share code, notes, and snippets.

@kehers
Last active November 22, 2018 15:48
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save kehers/48d1dc99c9cae0ceac0c to your computer and use it in GitHub Desktop.
Save kehers/48d1dc99c9cae0ceac0c to your computer and use it in GitHub Desktop.
Order of SSL pem file for HAProxy
1. key
2. crt
3. COMODORSADomainValidationSecureServerCA.crt
4. COMODORSAAddTrustCA
5. AddTrustExternalCARoot
DOMAIN='thefeed.press' sudo -E bash -c 'cat /etc/letsencrypt/live/$DOMAIN/fullchain.pem /etc/letsencrypt/live/$DOMAIN/privkey.pem > /etc/haproxy/certs/$DOMAIN.pem'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment