curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

Re: [Feature Suggestion] Selectively ignore TLS errors

From: Petr Pisar via curl-users <curl-users_at_cool.haxx.se>
Date: Tue, 2 Feb 2021 20:21:37 +0100

V Tue, Feb 02, 2021 at 09:59:00AM -0800, Ryan via curl-users napsal(a):
> I ran into a situation today where I needed to curl against a web service,
> outside my control, with an expired SSL certificate. Using curl -k works,
> but is very heavy handed.
>
An option to supply a server's certificate or public key to curl. If a peer's
certificate cannot be verified, curl would check the peer's public key against
the supplied one and approves the connection if they match.

-- Petr


-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-02-02