openssl s_client
sem especificar -servername
:
echo | openssl s_client -connect ###.###.###.###:443 2>/dev/null | awk '/Certificate chain/,/---/'
vs
echo | openssl s_client -connect domain.name:443 -servername domain.name 2>/dev/null | awk '/Certificate chain/,/---/'