I am new to SSL, and have converted my PKCS12 file to pem format, and split
it into a certificate,key and cert auth file.

I am attempting to confirm that the files produced will work, but have been
unsuccessful.  I have tried the private key encrypted and unencryped, the
results are below.  
Could anyone point me in the right direction for resolving the issue?

openssl s_client -connect myserver.com:443 -cert Test_Cert.pem -key
TestKeyUnsecure.pem -CAfile Test_Auth.pem -prexit -state
verify depth is 2
Loading 'screen' into random state - done
unable to get private key from 'TestKeyUnsecure.pem'
1620:error:0B080074:x509 certificate routines:X509_check_private_key:key
values
mismatch:./crypto/x509/x509_cmp.c:279:
---
no peer certificate available



openssl s_client -connect myserver.com:443 -cert Test_Cert.pem -key
Test_Key.pem
-CAfile Test_Auth.pem -prexit -state
verify depth is 2
Loading 'screen' into random state - done
Enter PEM pass phrase:
unable to get private key from 'Test_Key.pem'
952:error:0B080074:x509 certificate routines:X509_check_private_key:key
values m
ismatch:./crypto/x509/x509_cmp.c:279:
---
no peer certificate available
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to