Hi again,
 I have finally managed to get the trusted certificate to 
load into the application but now I am getting errors about 
the certificate chain being to long.
 The server only sends its certificate and the client loads 
the Root CA cert to verify the server certificate.
 As I stated before im using the verify_callback function 
taken straight from the man page for SSL_CTX_set_verify and 
this is the routine that complains about the verify depth. 
When I check the verification results with 
SSL_get_verify_result(ssl) it fails (obviously).

The certificate depth is the depth to recurse down the cert 
chain correct? My previous mail has my test code so If  you 
need to look at what i'm doing check that. 

thanks for your help guys!

Evan




Get your own zoom email - click here - http://www.zoom.co.uk/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to