Last active
December 11, 2020 23:39
-
-
Save surajnarwade/eb6efcbe792ff7b5dc75f9d4c61b809d to your computer and use it in GitHub Desktop.
Revisions
-
surajnarwade revised this gist
Dec 11, 2020 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,4 +11,10 @@ openssl s_client -connect google.com:443 2>/dev/null | openssl x509 -noout -text openssl x509 -in cert.pem -text -noout ``` * more suitable ``` openssl x509 -in ca.crt -issuer -subject -noout -dates ``` more: https://www.sslshopper.com/article-most-common-openssl-commands.html -
surajnarwade revised this gist
Jul 13, 2020 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,6 @@ openssl s_client -connect google.com:443 2>/dev/null | openssl x509 -noout -text ``` openssl x509 -in cert.pem -text -noout ``` more: https://www.sslshopper.com/article-most-common-openssl-commands.html -
surajnarwade created this gist
Jul 9, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ * to check validity ``` openssl s_client -connect google.com:443 2>/dev/null | openssl x509 -noout -text | grep -A3 "Validity"; ``` * check details ``` openssl x509 -in cert.pem -text -noout ```