Created
June 6, 2018 10:49
-
-
Save aursu/1514206f7318c61b85a08cc195fc0477 to your computer and use it in GitHub Desktop.
Check SSL expiration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo | openssl s_client -connect gitlab.dev2.gface.de:443 2>/dev/null | sed -n '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/p' | openssl x509 -dates -noout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment