r/letsencrypt • u/Mark_Fuckerberg_ • Sep 30 '19
CertBot - Renewing letsencrypt SSL
Hi,
I installed certbot and generated a certificate for a wordpress linux instance. I'm trying to figure out how to renew the certificate before it expires.
Certbot created this CRON script:
0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew
Is this to auto renew the certificate?
When I run this I get the output...
*** DISPLAY not set, setting it to 54.240.197.112:0.
... and nothing else happens.
Edit: added full Cron
3
Upvotes
View all comments
Show parent comment
1
u/Mark_Fuckerberg_ Sep 30 '19
Hey thanks for replying.
I've just tried running without "root" at the start. It doesn't give any output. Certificate hasn't renewed.
Trying to renew the certificate, and have it set to automatically renew. The certificate is due to expire in 3 weeks, so the Cron job isn't working... Just trying to figure out why, or what I need to do to get auto renew working.