Use openssl to Issue Raw HTTP Requests
by Annika Backstrom in misc, on 1 November 2011. It is tagged #Web, #debugging, #http, #https, #ssl, and #telnet. (history)
telnet is a handy tool for examining a raw HTTP connection, but it
fails hard on HTTP over SSL:
ambackstrom@fsck:~:0$ telnet www.plymouth.edu 443 Trying 220.127.116.11... Connected to algol.plymouth.edu. Escape character is '^]'. GET / HTTP/1.1 Connection closed by foreign host.
openssl (which is a toolbox in its own right) can step
openssl s_client -connect www.plymouth.edu:443