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 249Number of Views Database fails to start with ORA-03113: end-of-file on communication channel error in RSA Identity Governance & Lifecycle 88Number of Views Unable to extract account data to csv file in RSA Identity Governance & Lifecycle 13Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager Patch Updates RSA Authentication Manager Upgrade Process RSA-2026-24: RSA Authentication Manager Security Update for Third-Party Component Vulnerabilities
Don't see what you're looking for?