X
X
xutegino2017-09-18 13:59:12
Digital certificates
xutegino, 2017-09-18 13:59:12

Why doesn't certbot auto-renew the certificate?

Hello. Installed certbot certificate. I checked the update sudo certbot renew --dry-run- it works.
I wrote this in the crown 15 3 * * * /usr/bin/certbot renew --quiet
. run this command every day at 15:30. Right?
Auto-update does not occur.
Is there anything additional that needs to be done? What to write in the crown? How to automate certbot renew?
On Ubuntu server 16.04

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikolai Korabelnikov, 2017-09-18
@nmk2002

A Let's Encrypt certificate can be renewed if it expires in less than 30 days.

J
John Doe, 2017-09-18
@rabbit418

Try like this:

15 3 * * 1 /usr/bin/certbot renew >> /var/log/le-renew.log
20 3 * * 1 /etc/init.d/nginx reload

D
Dmitry, 2019-02-08
@trec

I will add.
> I.e. run this command every day at 15:30. Right?
No, that means at 03:15. Use crontab.guru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question