Skip to content

Instantly share code, notes, and snippets.

@danihuge
Created September 14, 2021 14:08
Show Gist options
  • Save danihuge/5961ee1b01a1e99783723dee7195c37e to your computer and use it in GitHub Desktop.
Save danihuge/5961ee1b01a1e99783723dee7195c37e to your computer and use it in GitHub Desktop.
CLI command to check SSL cert expiring date
echo | openssl s_client -connect google.com:443 2>/dev/null | openssl x509 -noout -enddate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment