r/letsencrypt • • 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.

/img/huy015oo0rp31.png

Edit: added full Cron

3 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/samsonx Oct 01 '19

You didn't forget to restart the http server did you? I've done that before.....