You would have to ignore some initial certificate info output but some variation on echo "GET /version" | openssl s_client -connect test.example.com -crlf -ign_eof -quiet would be as pure OpenSSL as you can get… Andrew From: openssl-users [mailto:openssl-users-bounces@xxxxxxxxxxx]
On Behalf Of Ivan Medoedov Hello, I've only managed to find this, but it seems to do too much for what I need: Basically I need something like Go's http.Get("https://mysite.com/version")
to just get a one line of text from the server. I can't use libcurl, I have to use pure openssl. Thanks |