Author Topic: check all autoSSL (Lets encrypt) that failed  (Read 398 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
check all autoSSL (Lets encrypt) that failed
« on: April 04, 2025, 03:02:27 PM »
Isnt there a way to check all autoSSL (Lets encrypt) that failed ?

Thanks.

Offline
**
Re: check all autoSSL (Lets encrypt) that failed
« Reply #1 on: April 12, 2025, 10:54:55 AM »
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

Offline
****
Re: check all autoSSL (Lets encrypt) that failed
« Reply #2 on: April 12, 2025, 12:59:20 PM »
cat /root/.acme.sh/cwp_certs/acme.sh.log | more
Google Hangouts:  rcschaff82@gmail.com

Offline
*****
Re: check all autoSSL (Lets encrypt) that failed
« Reply #3 on: April 12, 2025, 01:48:04 PM »
Code: [Select]
grep "Verification error" /root/.acme.sh/cwp_certs/acme.sh.log | less

Offline
*
Re: check all autoSSL (Lets encrypt) that failed
« Reply #4 on: May 02, 2025, 04:45:33 PM »
Thanks! No way for an integrated feature in the panel? To alert us, etc?

Offline
***
Re: check all autoSSL (Lets encrypt) that failed
« Reply #5 on: May 03, 2025, 01:31:27 AM »
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:

Code: [Select]
# 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
« Last Edit: May 03, 2025, 02:22:32 AM by Netino »