you seems assign -inkey with newreq.pem, please use your private key.
try this:
openssl pkcs12 -nokeys -export -in newcert.pem -inkey pkey.pem -name
"Test" -caname "Test CA" -certfile ca_cert.pem -out mycert.p12
-inkey: set with your pkey.pem that comes with newreq.pem when you generate
request
-certfile: set with your CA
Hope this help
Jagad
----- Original Message -----
From: Wolfgang Meyer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 03, 2000 10:35 PM
Subject: problems to convert from PEM to PKCS12
> Hi everbody,
> I'm using openssl , version 0.9.4. I've created a demo CA,
> a new certificate request, and signed this request.
>
> I try to read the certificate into Netscape. So we have to convert to
> pkcs12. I try this by the command:
>
> openssl pkcs12 -export -inkey newreq.pem -in newcert.pem \
> -name "Test" -out mycert.p12
>
> but I get the error massage:
> No certificate matches private key.
>
> Can anybody help me ?
>
> Thanks in advance ...
>
> Wolfgang Meyer
>
>
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
smime.p7s