curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

HTTP/3 and CURLINFO_TLS_SSL_PTR

From: Larry Campbell via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 2 Jul 2025 09:38:10 -0400

Context: curl 8.11.1, built with nghttp2/nghttp3/ngtcp2 and openssl.

I use CURLINFO_TLS_SSL_PTR to capture the peer certificate and certificate chain. This works fine with HTTP/1 and HTTP/2. But with HTTP/3, the CURLINFO_TLS_SSL_PTR returns NULL in the curl_tlssessioninfo 'internals' variable. (It does, as expected, return CURLSSLBACKEND_OPENSSL in the 'backend' variable.)

Am I doing something wrong, or is this an inherent limitation of the HTTP/3 implementation?

- lc

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-07-02