Testing HTTPS with openssl


$ openssl s_client -connect localhost:443
CONNECTED(00000003)
...lots of certificate-related stuff here...
---
GET / HTTP/1.0

HTTP/1.1 200 OK
Date: Mon, 04 Feb 2008 09:19:01 GMT
Server: Apache/2.2.7 (Unix) mod_ssl/2.2.7 OpenSSL/0.9.7l DAV/2 mod_python/3.3.1 Python/2.5.1
Last-Modified: Sat, 20 Nov 2004 20:16:24 GMT
Accept-Ranges: bytes
Content-Length: 44
Connection: close
Content-Type: text/html

It works!


Connection closed by foreign host.

Thanks to http://blog.yimingliu.com/ for posting this…

http://blog.yimingliu.com/2008/02/04/testing-https-with-openssl/

Leave a Reply

Your email address will not be published. Required fields are marked *