Wednesday, February 8, 2017

Installing a Comodo Wildcard SSL Certificate in HAProxy

Should be straight-forward, but it wasn't...

Create a .pem file by concatenating the following into a single file, in this order:

  1. Server Certificate
  2. Server Private Key
  3. Intermediate Certificate 1 (COMODORSADomainValidationSecureServerCA.crt)
  4. Intermediate Certificate 2 (COMODORSAAddTrustCA.crt)
  5. Root Certificate (AddTrustExternalCARoot.crt)
Name that file something appropriate and then reference it on your "bind" command in your haproxy.cfg file, a la:

frontend https
     mode http
     bind :443 ssl cert /full/path/to/your/.pem/file/star.pem