Re: Handling expired certificates

2005-08-31 Thread david kine
I think that I found the answer - get the error code from the X509_STORE_CTX and check for the value X509_V_ERR_CERT_HAS_EXPIRED (defined in x509_vfy.h). -David --- david kine <[EMAIL PROTECTED]> wrote: > My application requires a feature that allows > connection to secure servers whose certifi

Handling expired certificates

2005-08-31 Thread david kine
My application requires a feature that allows connection to secure servers whose certificates may have expired. I suppose that the OpenSSL verify callback function, set with the function SSL_CTX_set_verify(), can inspect an error condition and return "true" to establish the secure connection. My