Hello!
Thank you for your reply!
The high-level goal here is to implement certificate verification for the use of libcurl built with openSSL (CURLOPT_SSL_CTX_FUNCTION/SSL_CTX_set_cert_verify_callback) as we currently use that HTTP stack for all platforms of our software (macOS, Windows, Ubuntu) and it would be quite an effort to change that to use native HTTP APIs from the operating system, and for security reasons revocation check should also be done here like the browsers do.
Since libcurl version 8.15 the curl-built-in support for "Secure Transport" was removed, as it is deprecated and does not support TLS 1.3, therefore we want to use openSSL as the SSL backend instead, which lacks keychain access.
See:
https://github.com/curl/curl/pull/16677
https://curl.se/mail/lib-2025-08/0048.html
I've just made a quick and dirty sample for reproduction purposes ;-)
Topic:
Privacy & Security
SubTopic:
General
Tags: