I am trying to do CRL check on macos catalina. I am doing exactly same as what is mentioned in
https://developer.apple.com/forums/thread/97740
SecPolicyRef revPolicy = nil;
revPolicy = SecPolicyCreateRevocation(kSecRevocationCRLMethod | kSecRevocationRequirePositiveResponse);
except for the setting the trust anchor part. I have created a self signed root CA using openssl and created a server certificate signed by the root CA.
I have a CRL distribution point mentioned in server certificate
X509v3 CRL Distribution Points:
Full Name:
URI:http://www.test.com/crl.pem
OSX is completely ignoring the CRL distribution point. There is no attempt to contact the CRL server during handshake.
What could be wrong here? Don't CRL checks work in OSX? Does it require some additional information in the certificate?