CURLINFO_CERTINFO and TLS certificate chain availability

dogma via curl-library <[email protected]> Tue, 23 Dec 2025 23:53:27 +0000
Newsgroups gmane.comp.web.curl.library
Message-ID <aUsrd3pBa1o0xRuV@local>
Does CURLINFO_CERTINFO always provide the chain of certificates if it happens to be exposed by the backend, or is it more haphazard than that?

If a transfer fails, I print the chain if it’s provided, but for example I just had one that failed because the certificate has expired. No chain. This is with OpenSSL.

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html