Converting certificates

Posted on Sun 18 December 2011 in Security

If you are running a webserver with https you maybe get a certificate for your site some times in a different format as you expect it.

The easiest way of converting the certificates is using the openssl tool.

For example if you get a certificate in .pfx format you can convert it easy to a format your apache or nginx can use it:

`` openssl pkcs12 -in inputfile.pfx -out outputfile.txt -nodes ``

Source:

http://www.digicert.com/ssl-support/apache-ssl-export.htm