EldoS | Feel safer!

Software components for data protection, secure storage and transfer

extracting private key from X509 certificate pfx file

Posted: 11/13/2013 04:24:45
by Jacob jvandiermen (Standard support level)
Joined: 08/09/2013
Posts: 55

Hello Vsevolod,

Here are the OpenSSL comandlines:

to save as PEM
openssl pkcs12 -in CertificateX509.pfx -nocerts -out privateKey.pem

to save as CRT
openssl pkcs12 -in CertificateX509.pfx -nocerts -out privateKey.crt        

to extract as KEY
openssl pkcs12 -in CertificateX509.pfx -nocerts -out privateKey.key


Posted: 11/13/2013 04:36:01
by Vsevolod Ievgiienko (Team)

You should use TElX509Certificate.SaveKeyTo*PEM methods to produce the same output.



Topic viewed 4300 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!