How to extract parse certificates and private keys from PKCS #12 files using OpenSSL
Originally Published: 2009-12-08
Last Modified: 2023-10-06
Article Number
Applies To
Tasks
Resolution
openssl pkcs12 -in file.p12 -out file.pem
From the OpenSSL PKCS#12 Program Usage page:
This will dump all the keys and certificates in the PKCS#12 file to a file named file.pem. It will ask you for the password to decrypt the PKCS#12 file and the pass phrase to encrypt the output private key with.
Related Articles
RSA MFA Agent 2.0 for macOS Third-Party Licenses 9Number of Views RSA MFA Agent 3.0.2 for Microsoft AD FS Release Notes 53Number of Views MFA Agent Test Authentication fails with error ServerConnectionFailed 245Number of Views Database fails to start with ORA-03113: end-of-file on communication channel error in RSA Identity Governance & Lifecycle 88Number of Views How to extract raw logs from archiver 13Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Reporting on RSA Authentication Manager 8.x users with On-Demand Token, a fixed passcode or a hardware/software token assi… How to Download OTP Token Seed Files from myRSA Anomalix idGenius - SAML Relying Party Configuration - RSA Ready Implementation Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?