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 Salesforce - SAML IDR SSO Configuration RSA Ready Implementation Guide 56Number of Views MFA Agent Test Authentication fails with error ServerConnectionFailed 228Number of Views How to open TCP/IP ports in RSA Identity Governance & Lifecycle 113Number of Views Salesforce - RSA Ready Implementation Guide 81Number of Views
Trending Articles
RSA Authentication Manager 8.9 Setup and Configuration Guide How to 'Trust' the RSA Authentication Manager Security Console Self-Signed Root CA certificate and prevent Cert warnings. RSA Authentication Manager 8.9 Release Notes (January 2026) Configure RSA Authentication Manager as a Secure Proxy Server for Cloud Access Service RSA Authentication Manager Upgrade Process
Don't see what you're looking for?