How to Convert a PKCS #7 Certificate to PEM Format in Windows 7

Solution Number:
Last Modified:

This article describes how to convert a certificate that is received from the Certificate Authority (CA) in PKCS #7 format to PEM format.
This is an alternative method of converting a PKCS #7 Certificates to PEM format, rather than using Open SSL, which sometimes might not work correctly.
Certificate is in the PKCS #7 [Crypto Graphic message syntax standard] format, and the file extension is .p7b.


1. Double-click on the certificate to open it

2. Expand the path to reveal the certificate, then double-click on it

3. Select the Details tab

4. Click "Copy to File..."

5. Click "Next" in the Certificate Export Wizard window

6. Select the "Base-64 encoded x.509 (.CER) option". This converts the certificate to PEM format.

7. Click "Next"

8. Click "Browse" and select a location to store the converted PEM

9. Click "Next"

10. Click "Finish"

After converting the certificate to PEM format, the certificate has an extension .cer.

11. To verify if the certificate is in PEM format, change the extension to .txt. The file must start with the line “-----BEGIN CERTIFICATE-----”, as shown in the following screenshot:


Deployments where PKCS #7 format certificates are to be imported into Riverbed devices.

NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case