Almost wrote this up again and then realized I already did once (sure it was a few years ago but luckily not much changes with some of the command line stuff). Check it out here: https://krypted.com//mac-os-x/using-openssl-to-test-connectivity If you want to see more on openssl check this one out too: https://krypted.com//unix/openssl-and-signatures
-
-
Using OpenSSL to Test Connectivity
When you’re testing connectivity to servers and you’re using SSL on those servers then your traditional ways of testing connectivity may been a little augmentation. For starters, you’re going to use the openssl to test connections. For example, if you have a web server you might traditionally attempt to telnet into port 80 and check you banners; however, if you have an SSL certificate on it then you might be better served connecting to port 443 using the openssl command. In the following example we’ll tell openssl to be a generic client (s_client) and connect (-connect) to https://krypted.com/ over port 443: openssl s_client -connect krypted.com:443 The output would then look…