Control Web Panel
WebPanel => Information => Topic started by: luca on April 04, 2025, 03:02:27 PM
-
Isnt there a way to check all autoSSL (Lets encrypt) that failed ?
Thanks.
-
It will be an useful option.
I have encountered many times many renewals have failed.
If we can run renew automatically once in a while, it wlll be useful
-
cat /root/.acme.sh/cwp_certs/acme.sh.log | more
-
grep "Verification error" /root/.acme.sh/cwp_certs/acme.sh.log | less
-
Thanks! No way for an integrated feature in the panel? To alert us, etc?
-
Thanks! No way for an integrated feature in the panel? To alert us, etc?
While this feature is not implemented in CWP, you can use this command in cron, to be alerted:
# find /etc/pki/tls/certs -type f -name \*.cert -mtime +60 | sed -e 's#^/etc/pki/tls/certs/##g' -e 's#\.cert$##' | xargs -I '{}' bash -c 'echo -e "Domain Cert {} expired.\n.\n" | mail -s "ALERT: Domain Cert {} expired" your-mail@yourdomain.com'
Regards,
Netino