Skip to content

Openssl

Check SSL validity

Check Dates

On local/server machine:

Bash
cat somecert.pem | openssl x509 -noout -dates
Check live cert:
Bash
export SITE_URL="kafana.dev"
export SITE_SSL_PORT="443"
openssl s_client -connect ${SITE_URL}:${SITE_SSL_PORT} \
  -servername ${SITE_URL} 2> /dev/null |  openssl x509 -noout  -dates

Back to top