Testing SSL connections


This originally appeared on the Annexe.

Using OpenSSL:

openssl s_client -connect hostname.tld:443

And if you’re testing an xmpp server:

openssl s_client -connect hostname.tld:5222 -starttls xmpp

Use the -ssl3 command if you know you’re dealing with an older server.

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person in bios. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.