Check SSL Certificates

  • Check an SSL certificate from the command line
echo | openssl s_client -servername api.backblazeb2.com -connect api.backblazeb2.com:443 2>/dev/null | openssl x509 -inform pem -noout -text

N.B.: The echo is essential to prevent the output staying open.