Quick Tip - telnet with ssl

I've often used telnet to connect to random ports to make sure a service is working (eg: telnet somehost.example.com smtp to see if it's accepting connection...

I’ve often used telnet to connect to random ports to make sure a service is working (eg: telnet somehost.example.com smtp to see if it’s accepting connections on port 25) but have been stuck with a suitable alternative to test connections that are secured with ssl. Of course openssl is capable of doing this. Simply type: openssl s_client -connect somehost.example.com:465 This will test an ssl secured connection to the secure smtp (smtps) port on a mail server. Change port number as required.

Keep This Useful

Spotted something outdated or unclear?

If a step has changed, a screenshot no longer matches, or something here just does not work the way it should, get in touch and we will take a look.