I have an encrypted/password-protected  private key file in PEM format
generated by Phaos' SSLava.

My OpenSSL app can't read it - it crashes on Windows with an Access
Violation during SSL_CTX_use_PrivateKey_file(...).

Here is a stack:

        EVP_PKCS82PKEY + 28 bytes
        PEM_ASN1_read_bio + 1629 bytes
        PEM_read_bio_PrivateKey + 35 bytes
        SSL_CTX_use_PrivateKey_file + 134 bytes

The command 'openssl asn1parse -inform PEM -in TWkey.pem' (TWkey.pem is the
key file that causes the crash).

            0:d=0  hl=3 l= 252 cons: SEQUENCE
            3:d=1  hl=2 l=  39 cons: SEQUENCE
            5:d=2  hl=2 l=  10 prim: OBJECT
:pbeWithSHA1And3-KeyTripleDES-CBC
           17:d=2  hl=2 l=  25 cons: SEQUENCE
           19:d=3  hl=2 l=  20 prim: OCTET STRING
           41:d=3  hl=2 l=   1 prim: INTEGER           :64
           44:d=1  hl=3 l= 208 prim: OCTET STRING

Anybody know what's wrong and what I can do to fix it?

Thanks!

Bill Rebey







======================= Confidentiality Statement ======================= 
The information contained in this message and any attachments is 
intended only for the use of the individual or entity to which it is 
addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL 
and exempt from disclosure under applicable law.  If you have received 
this message in error, you are prohibited from copying, distributing, or 
using the information.  Please contact the sender immediately by return 
e-mail and delete the original message from your system. 
===================== End Confidentiality Statement =====================  


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

Reply via email to