Using openssl instead of telnet to test HTTPS, POP3S connections

SSL is being used more often than plain text connections, so the usual testing with telnet may not work anymore.

Fortunately, it's possible to use openssl command to test webservers, POP3S/IMAPS/SMTPS mailserver, FTPS servers etc. which use SSL.

Testing HTTPS


Or, to test TLS on port 25:

Testing IMAP on port 143

Note the "-starttls imap" added to the command line - this one shows an expired certificate:

Expert answers
for every coding challenge.

Get the information you need to solve your programming problems on, the expert-driven alternative to StackOverflow

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.