Skip to content

Instantly share code, notes, and snippets.

@gregmark
Last active December 8, 2020 20:22
Show Gist options
  • Save gregmark/346f5ed2df80bcae3bf7e26eddfacdc5 to your computer and use it in GitHub Desktop.
Save gregmark/346f5ed2df80bcae3bf7e26eddfacdc5 to your computer and use it in GitHub Desktop.
SSL Cert Verify with cURL
└─▪ 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