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: Ihor Dutchak via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 19 Feb 2025 23:00:46 +0200

> 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).
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-02-19