Skip to content

Instantly share code, notes, and snippets.

Created March 21, 2015 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/8917a1c8da1616e8c48e to your computer and use it in GitHub Desktop.
Save anonymous/8917a1c8da1616e8c48e to your computer and use it in GitHub Desktop.
Check 1 Million SSL Certificates
cat top-1m.csv | sed -e 's_.*,\(.*\)_echo | openssl s\_client -connect \1:443 > certs/\1.pem\&_' > certs.sh
ls certs | xargs -L1 -I DOMAIN echo 'openssl x509 -in certs/DOMAIN -text -noout > checks/DOMAIN.check' > checks.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment