Created
January 20, 2017 10:22
-
-
Save alexzorin/20030ae146ceff691377691b45080d55 to your computer and use it in GitHub Desktop.
Count Let's Encrypt certificates on a cPanel/WHM server
This file contains hidden or 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
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