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
How to Generate SSL Certificate Request and Private Key from the RSA SecurID Access Admin Console 426Number of Views How to recover from "Error: The private key could not be parsed" when trying to upload the RSA SecurID Access Identity Rou… 189Number of Views Export a custom certificate with the private key from an RSA Authentication Manager 8.x server 682Number of Views Get the external Identity Source LDAPS certificate using openssl for RSA Authentication Manager 8.x 4.11KNumber of Views To generate FIPS compliant pkcs12 file using Openssl 39Number of Views
Trending Articles
RSA announces the availability of the RSA SecurID Hardware Appliance 230 based on the Dell PowerEdge R240 Server RSA Authentication Manager 8.9 Release Notes (January 2026) How to test RSA Identity Router (IDR) Secure Connector connectivity to the RSA ID Plus Cloud Access Service RSA-2026-07: RSA Identity Router Security Update for Third-Party Component Vulnerabilities How to troubleshoot Oracle database ORA-04030 errors in RSA Identity Governance & Lifecycle
Don't see what you're looking for?