Last active
December 8, 2020 20:22
-
-
Save gregmark/346f5ed2df80bcae3bf7e26eddfacdc5 to your computer and use it in GitHub Desktop.
SSL Cert Verify with cURL
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
└─▪ curl --insecure -vvI https://porkbellies.randolph.duke.sell/ 2>&1 | | |
awk 'BEGIN{cert=0} /^\* SSL connection/ {cert=1} /^\* / {if(cert) print}' | |
* subject: CN=*.randolph.duke.sell | |
* start date: Dec 7 13:54:42 2020 GMT | |
* expire date: Mar 7 13:54:42 2021 GMT | |
* issuer: C=US; O=Let's Encrypt; CN=R3 | |
* SSL certificate verify ok. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment