Monitor websites for expiring SSL certificates.
Typical usage to check whether one of several domain names will expire in less than 170 days, for example:
$ ./cem.sh check --sites="amazon.com;apple.com" --days=170
_______ _______ ______ _______
| |______ |_____/ |
|_____ |______ | \_ |
_______ _ _ _____ _____ ______ __ __
|______ \___/ |_____] | |_____/ \_/
|______ _/ \_ | __|__ | \_ |
_______ _____ __ _ _____ _______ _____ ______
| | | | | | \ | | | | | |_____/
| | | |_____| | \_| __|__ | |_____| | \_
amazon.com;apple.com
amazon.com expires in 334 days, on Feb 23 12:00:00 2021 GMT
apple.com expires in 116 days, on Jul 20 12:00:00 2020 GMT
=>
=> Some sites expire in less than 170 days or have other issues:
=> apple.com expires in 116 days
=>
Type ./cem.sh usage for more details.
Built with dcBase.
- Create ./unversioned/source.txt file and copy output of a letsencrypt to ./unversioned/source.txt file.
- upon running below command inside project root directory test.txt and dest.txt file will be created.
./script/modules/letsencrypt-automation/convert-output-to-commands.sh ./unversioned/source.txt ./unversioned/dest.txt ./unversioned/test.txt ./docroot
- run tests
./tests/letsencrypt-automation-tests/test.sh