Skip to content

Instantly share code, notes, and snippets.

@PeteGoo
Created April 10, 2016 19:29
Show Gist options
  • Save PeteGoo/18525a0a6344b646e7a9bcef86295b03 to your computer and use it in GitHub Desktop.
Save PeteGoo/18525a0a6344b646e7a9bcef86295b03 to your computer and use it in GitHub Desktop.
SSL Expiration Check
notBefore=Aug 3 00:00:00 2015 GMT
notAfter=May 18 23:59:59 2016 GMT
subject= /C=NZ/ST=Auckland/L=Auckland/O=Pete Holdings Limited/CN=domain.com
echo | openssl s_client -connect sub.domain.com:443 2>/dev/null -servername sub.domain.com| openssl x509 -dates -noout -subject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment