Hello Bob
 
The problem is that your private key does not match the certificate.

Though you specified the password correctly,the key specified using the -inkey option
does not match the certificate specified using the -in option.
 
I think you have specified the opposite values for -in  and -certfile
 
Assuming cacert.pem and cakey.pem are the corresponding certificate and key files use the following command.
 
# openssl pkcs12 -export -in cacert.pem -inkey private/cakey.pem  -certfile newcert.pem -name "Laser" -out testcert.pem
Thanks,
Prakash

Robert Kwiencien <[EMAIL PROTECTED]> wrote:
I try to create the pkcs12 file with:

[EMAIL PROTECTED] CA]$ openssl pkcs12 -export -in newcert.pem -inkey private/cakey.pem -certfile cacert.pem -name "Laser" -out testcert.pem
Enter pass phrase for private/cakey.pem:


My pass phrase is corrent, but then I get:

No certificate matches private key

Can anyone give some advice?

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


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Reply via email to