Hi all,

im usein OpenSSL as a part of curl. Curl needs PEM-certifikates for
clientauthentication in ssl.
Im writing my PEM-certificate by using OpenSSL  (PEM_write_X509_AUX(fp,
cert);). The certifikate is written as TRUSTED CERTIFICATE. If i try to read
the Certifikate with OpenSSL later on the check_pem() funktion in pem_lib.c
didn't chek my TRUSTED CERTIFICATE seccessfully.
I added the Lines:

/* Ich meine Trusted Certs sollten auch als Certs durchgehen */
        if(!strcmp(nm,PEM_STRING_X509_TRUSTED) &&
                !strcmp(name,PEM_STRING_X509)) return 1; 

to the check_pem() funktion.

Greetings Andreas

Andreas Hellrung
secunet 
Security Networks AG       Tel   : +49-2054-123-224
Im Teelbruch 116           Fax   : +49-2054-123-123
45219 Essen                E-Mail: [EMAIL PROTECTED]

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

Reply via email to