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.
Re: HTTP/3 and CURLINFO_TLS_SSL_PTR
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Stefan Eissing via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 3 Jul 2025 12:14:58 +0200
> Am 02.07.2025 um 15:49 schrieb Stefan Eissing via curl-library <curl-library_at_lists.haxx.se>:
>
>
>
>> Am 02.07.2025 um 15:38 schrieb Larry Campbell via curl-library <curl-library_at_lists.haxx.se>:
>>
>> 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?
>
> This is currently not supported for HTTP/3. More of an oversight, really.
>
> I created https://github.com/curl/curl/issues/17801 to track this and will work on implementing this for the next version.
FYI: implementation of this feature available at https://github.com/curl/curl/pull/17809
Cheers,
Stefan
>
> Kind Regards.
> Stefan
>
>>
>> - lc
>>
>> --
>> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
>> Etiquette: https://curl.se/mail/etiquette.html
>
> --
> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
> Etiquette: https://curl.se/mail/etiquette.html
Date: Thu, 3 Jul 2025 12:14:58 +0200
> Am 02.07.2025 um 15:49 schrieb Stefan Eissing via curl-library <curl-library_at_lists.haxx.se>:
>
>
>
>> Am 02.07.2025 um 15:38 schrieb Larry Campbell via curl-library <curl-library_at_lists.haxx.se>:
>>
>> 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?
>
> This is currently not supported for HTTP/3. More of an oversight, really.
>
> I created https://github.com/curl/curl/issues/17801 to track this and will work on implementing this for the next version.
FYI: implementation of this feature available at https://github.com/curl/curl/pull/17809
Cheers,
Stefan
>
> Kind Regards.
> Stefan
>
>>
>> - lc
>>
>> --
>> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
>> Etiquette: https://curl.se/mail/etiquette.html
>
> --
> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
> Etiquette: https://curl.se/mail/etiquette.html
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2025-07-03