USE THE OPENSSL TOOL TO CHECK A CERTIFICATE, use s_client. This command acts as a SSL/TLS client to connect to a server, retrieve its certificate, and display its details: openssl s_client -connect <domain>:443 -servername <domain> < /dev/null 2>/dev/null | openssl x509 -noout -text