Checking OpenSSL certificates

openssl

When checking certificates on the command line, it is useful to check the Return code to the response.

This will give the full display of the certificate chain, the connection status as well as information about the cipher, key size and SSL session.

echo | openssl s_client -connect mag-dent-sas-001-vip.osl.basefarm.net:443 2> /dev/null | grep -i "Return"