Saturday, July 26, 2008

Openssl convert from iis format to pem

openssl pkcs12 - in -out filename.pem -nodes


then to get the crt and the key open save multiple copies and remove the private key from the .crt and then remove the certificate for the .key file.


***********************************************************************
Username@Hostname /cygdrive/c/username/projects-reoccuring/check-ssl/ssl-certs
$ openssl pkcs12 -in iiscertexport.pfx -out filename.pem -nodes
Enter Import Password:
MAC verified OK

Username@Hostname /cygdrive/c/username/projects-reoccuring/check-ssl/ssl-certs
$ ls
***************************************************************************

No comments: