New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl built with DarwinSSL doesn't collect server cert #4130
Comments
The output I see with running |
It isn't supported with the Secure Transport backend. Allow me to quote the CURLINFO_CERTINFO man page: AVAILABILITYThis option is only working in libcurl built with OpenSSL, NSS, Schannel or GSKit support. Schannel support added in 7.50.0 |
@bagder Thank you for the information. Is there any other way to collect server cert info in security layer independent way? Seems like now my options are to check CURLINFO_TLS_SSL_PTR, then get a pointer to a backend (openssl, darwinssl, etc.) and use that backend API. |
Other than write a patch for curl that brings the certinfo feature to the Secure Transport backend, no. |
I did this
./buildconfig
./configure --withdarwin-ssl
make
cd docs/examples
make && certinfo
I expected the following
1 certs!
...some cert data here...
curl/libcurl version
built from the latest master (aa73eb4).
operating system
macOS 10.14.5
The text was updated successfully, but these errors were encountered: