Hello,

I'm not an expert, but I think, thot you forgot to specify the outform
paramter:
openssl x509 -inform pem -in certificate.cer -outform der -out
certificate.pem

Best regards

Martin

buddhika schrieb:
> Hi,
> I want to convert *.cer* format to *.pem* format with the private key.I
> tried it by using following command.
> *openssl x509 -inform der -in certificate.cer -out certificate.pem
> 
> *But the *certificate.pem* file doesn't contain the private key. To do
> this task, I want to use command line.
> Pls can any one help me...
> 
> Thanks
> Buddhika

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to