On Fri, Oct 06, 2023 at 02:54:22PM +0000, Taw via curl-library wrote:
> 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.

You should be able to do that with CURLOPT_CONNECT_ONLY.
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to