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.
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...
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.