3 lines
90 B

#!/usr/bin/env bash
echo "" | openssl s_client -connect "$1" | openssl x509 -noout -text