Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

validate ssl certificate on website using curl

curl --cert-status -v https://www.google.com 2>&1 | awk 'BEGIN { cert=0 } /^* Server certificate:/ { cert=1 } /^*/ { if (cert) print }'
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #validate #ssl #certificate #website #curl
ADD COMMENT
Topic
Name
6+6 =