Install Comodo PositiveSSL Certificate on Nginx

Tags: April 29, 2012 12:23 AM

File used when using PositiveSSL are:

  • AddTrustExternalCARoot.crt
  • PositiveSSLCA2.crt
  • the_domain.crt

Concatenate the certificate in reverse order.

cat the_domain.crt > the_domain.pem
cat PositiveSSLCA2.crt >> the_domain.pem
cat AddTrustExternalCARoot.crt >> the_domain.pem
Open Nginx virtual host configuration and put the the_domain.pem along with the_domain.key (not discussed here).
[--- SNIP ---]
ssl on;
ssl_certificate /path/to/the_domain.pem;
ssl_certiticate_key /path/to/the_domain.key
[--- SIP ---]
Done. Restart Nginx.

Share on Facebook Twitter

0 comments:

Post a Comment