In the future, please do not post such user problems to the developer
mailing list. (Should this be a faq :)

I am hazarding a guess here. It seems you me that you are trying to use the
sample cert supplied with the demo. Note that this is just a dummy
certificate and not signed by a "real" CA. Is that why your client-side
verification process is failing? If you have a "real" certificate around,
try to use that and see if this recurs.

Arun.

-----Original Message-----
From: Du Xiaojiang <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, June 30, 2000 9:52 AM
Subject: certificate verify fails


>Dear Sir:
>
>I used "SSL_CTX_set_verify(ctx,SSL_VERIFY_PEER,verify_callback); "
>in my code, it makes the SSL handshake unsuccessful.
>And the following message appears:
>" depth=0 error=20 /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Server test
>cert (1024 bit) " .
>
>If I use "SSL_CTX_set_verify(ctx,SSL_VERIFY_NONE,verify_callback);",
>the handshake is ok, but the above message also appears.
>
>I used apps/server.pem and apps/client.pem (in openssl) as the cert files
>and key files.
>
>Could you tell me what's the wrong.
>Thank you very much.
>
>Sincerely,
>Xiaojiang Du
>
>
>______________________________________________________________________
>OpenSSL Project                                 http://www.openssl.org
>Development Mailing List                       [EMAIL PROTECTED]
>Automated List Manager                           [EMAIL PROTECTED]
>

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

Reply via email to