Thanks. Worked like a charm.

Cheers,

--fm

On 2/20/24 12:54, Odhiambo Washington wrote:
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

--

Reply via email to