if you get 404 then the handshake did work, the 404 is from the http layer and not TLS so if you get that then TLS works (do curl -v just to be sure)
/HH Den fre 6 okt. 2023 kl 20:29 skrev Taw via curl-library < curl-library@lists.haxx.se>: > 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 >
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html