curl / Mailing Lists / curl-library / 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.

Test server SSL handshake using libcurl

From: Taw via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 6 Oct 2023 14:54:22 +0000 (UTC)

Hi, I am trying to use libcurl to test a handshake with an internal server. Unfortunately GET/HEAD methods do no work, I get 404 error from the server.
Practically I would like the cURL equivalent of this command: "openssl s_client -connect <url>:<port> -cert=<cert path>"
I can use OpenSSL lib to do it, but cURL is more elegant and OpenSSL is not that friendly.
Thank you

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-10-06