S
S
srach2015-06-17 14:34:40
ubuntu
srach, 2015-06-17 14:34:40

How to generate .p12 format file from .cer?

There is a .cer file with the content:
-----BEGIN CERTIFICATE-----
<key>
-----END CERTIFICATE-----
We need to generate a .p12 file based on the .cer file. Google did not help, since the mechanism for generating private keys and how to "blind" them with .cer is not clear

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2015-06-17
@srach

The private key is created at the same time as the public key. This is the very first step of any certificate.
Then a certificate request is created containing only the public (!) Key, it is sent to the CA, and the CA issues the actual certificate. That is:
1) one CER certificate is not enough to create a PKCS#12 container (private key + certificate)
2) somewhere where you created a certificate request, you also have a private key - find it and follow the instructions that you found on google.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question