Skip to content

Instantly share code, notes, and snippets.

@alexzorin
Created January 20, 2017 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexzorin/20030ae146ceff691377691b45080d55 to your computer and use it in GitHub Desktop.
Save alexzorin/20030ae146ceff691377691b45080d55 to your computer and use it in GitHub Desktop.
Count Let's Encrypt certificates on a cPanel/WHM server
find /var/cpanel/ssl/installed/certs/ -type f -name "*.crt" | xargs -I{} openssl x509 -in {} -inform pem -noout -issuer | grep "O=Let's Encrypt" | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment