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.

Get SSL handle after connection has been established

From: Patrick Schlangen via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 4 Nov 2024 08:51:11 +0000

Hi,

I'd like to extract some information from the OpenSSL SSL* after connection establishment. Is there any callback / libcurl option I can use for that? Basically, I'd like to provide a callback which is invoked at about the point where libcurl also performs the CERTINFO extraction.

Background: I'd like to extract the certificate expiration date, but without the overhead of string parsing and all the other values captured by CURLOPT_CERTINFO.

Thanks,

Patrick
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-11-04