On Tue, Feb 20, 2024 at 6:47 PM <m...@phosphorus.com.br> wrote: > Hi misc, > > Usually am updating certificates manually this way: > > rcctl stop httpd ; certbot certonly --standalone -d DOMAIN.org -m > notifyc...@domain.org ; rcctl start httpd > > but recently saw newer certificates being deployed as 0001,0002,0003 > etc, like: > > /etc/letsencrypt/live/DOMAIN.org-0002/fullchain.pem > > Which setup are you using to automatically update certs with certbot, in > cron, and keeping /etc/httpd.conf updated accordingly? >
This should work: 0 0,12 * * * /bin/sleep 1552 && rcctl stop httpd && certbot renew && rcctl start httpd -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]