I'm working on homework assignment for my collage. Task is to fetch web page on HTTPS using nc (netcat).
To fetch page on HTTP you I do this:
cat request.txt | nc -w 5 <someserver> 80
In request.txt I have HTTP 1.1 request
GET / HTTP/1.1
Host: <someserver>
Now... This works fine. How can I fetch web page that uses HTTPS?
I get page certificate like this. And this is the point in witch I'm stuck
openssl s_client -connect <someserver>:443
socat - OPENSSLwould work, but that's probably not your assignment. – Tobu Jan 12 '10 at 21:19