go-check-ssl is a simple command line utility to check the status of an SSL certificate.
Run check-ssl example.com and it establishes a TLS connection and reports back everything useful about the certificate it was served. It accepts bare domains, host:port pairs, full URLs, or raw IP addresses, and you can override the SNI to test a specific server behind a shared address.