Austin Krauss
2003-06-25 16:36:28 UTC
Hello all, I've recently enabled our OpenSSL application to use CRLs by using:
X509_STORE_set_flags(cert_store, X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL);
and loading individual CRLs. The problem that I seem to be running across is that some CAs don't have CRLs. In this case the certificate verify fails with the error:
Error: 3, unable to get certificate CRL
Obviously I can override this error in my certificate callback function, but I don't think this is the proper thing to do without fully understanding why OpenSSL is rejecting this certificate.
Can anyone explain how to properly use CRLs in conjunction with CAs that don't have a CRL?
Thanks in advance,
Austin Krauss
SISCO, Inc.
X509_STORE_set_flags(cert_store, X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL);
and loading individual CRLs. The problem that I seem to be running across is that some CAs don't have CRLs. In this case the certificate verify fails with the error:
Error: 3, unable to get certificate CRL
Obviously I can override this error in my certificate callback function, but I don't think this is the proper thing to do without fully understanding why OpenSSL is rejecting this certificate.
Can anyone explain how to properly use CRLs in conjunction with CAs that don't have a CRL?
Thanks in advance,
Austin Krauss
SISCO, Inc.