How to extract parse certificates and private keys from PKCS #12 files using OpenSSL
Originally Published: 2009-12-08
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 3.0.2 for Microsoft AD FS Release Notes 53Number of Views RSA MFA Agent 2.0 for macOS Third-Party Licenses 9Number of Views MFA Agent Test Authentication fails with error ServerConnectionFailed 242Number of Views Database fails to start with ORA-03113: end-of-file on communication channel error in RSA Identity Governance & Lifecycle 88Number of Views RSA MFA Agent for PAM 9.0 - Upgrade Failed from lower versions 8.x with the error "The RSA MFA Agent for PAM upgrade is no… 204Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device RSA-2026-10: RSA Authentication Manager Security Update for Third-Party Component Vulnerabilities Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU RSA SecurID Desktop Token 5.0.3 for Windows Administrator's Guide RSA SecurID Software Token 4.2.1 for Mac OS X Administrator's Guide
Don't see what you're looking for?