
Attila CSIPAK
Not bad, but it looks like it expects browseable content on the target domain. If the other end is some sort of API (RMI for example), a regular HTTP request may fail, but an SSL handshake (and thus, a certificate check) is still be possible. (See openssl s_client -connect as an example.)