Google Search

Showing posts with label Certificates. Show all posts
Showing posts with label Certificates. Show all posts

Tuesday, September 23, 2014

How to convert .cer file into cert8.db?

Problem:

How to convert .cer file certificate into cert8.db certificate?

Solution:

1. If you have already exported .cer file, it will not directly convert .cer to cert8.db format.
2. So instead of directly converting, simply convert that .cer into .pk12 and then, use certutil command to import .pk12 to cert8.db extension

For more information regarding converting .pk7 to .cer extension, please read the below url;

http://maniidm.blogspot.in/2014/09/how-do-i-convert-pkcs-7-certificate.html

How do I convert a PKCS 7 certificate file to x.509 certificate file?



Problem:

Certificate file in email is PKCS 7 format and server certificate installation instructions requires x.509 format.

Resolution:

To convert the PKCS 7 formatted cert.cer file to x.509 format perform the following steps.
  1. Copy the PKCS 7 certificate file to a Windows desktop
  2. Rename the file and give it a .p7b extension
  3. Open the .p7b file
  4. Click the plus ( + ) symbol
  5. Click the Certificates directory
    Note: If an EV certificate is being converted your should see three files. The End Entity certificate and the two EV intermediate CA's.
  6. Right click on your certificate file
  7. Select All Tasks > Export
  8. Click Next
  9. Select Base-64 encoded X.509 (.cer) > Click Next
  10. Browse to a location to store the file
  11. Enter a File name. For example MyCert. The .cer extension is added automatically.
  12. Click Save
  13. Click Next
  14. Click Save