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.

Re: Feature request/discussion: Callback for Client Certificate selection

From: Ray Satiro via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 19 Feb 2025 17:01:28 -0500

On 2/19/2025 4:00 PM, Ihor Dutchak wrote:
>> Does the option to auto select a client certificate with Schannel work for your case?
>>
>> curl: --ssl-auto-client-cert [1]
>>
>> libcurl: CURLSSLOPT_AUTO_CLIENT_CERT [2]
> Right. Yes, this option works but only in one case - when the
> certificate is installed in the current user's "MY" certificate store.
> When there is an appropriate certificate - it will be automatically
> selected and used.
> But:
> 1) It doesn't work if the certificate is installed in LOCAL_MACHINE storage;
> 2) It doesn't allow manually selecting which certificate to use (e.g.
> if there are more than one available).


Are either of those a common thing to do? Couldn't an admin, developer
or user select the certificate usually?


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