Convert PFX to Separate Key/Cert Files
Tuesday, December 23, 2008
Using openssl to extract key and certificate files from a .pfx
To extract the private key...
openssl pkcs12 -in [name.pfx]-nocerts -out [private.key]
To extract the certificate...
openssl pkcs12 -in [name.pfx]-clcerts -nokeys -out [certificate.crt]
To decrypt the private key...
openssl rsa -in [private.key]-out [decrypted.key]
posted by Don @ 12:24 PM,
0 Comments:
Links to this post:
About This Blog
This blog is a place where I hope to put the snippets and trimmings of my geek'dom ... code samples that have served me well, tech links and other such things that'll I find useful. In short, any time I have to Google something, I tend to post it here for others to find as well.
Also, having owned 'digital-penguin.com' for many years and having worked with many a fellow geek, this site also serves as a place where I can always be found.

Post a Comment