Let's Encrypt Expiry Bot

Hello,
Using Ubuntu 18.04.2 with Ghost 2.37.0
I have never modified any settings of Lets Encrypt/Acme
I installed Ghost following your official guide.

The following email has just arrived:

Hello,

Your certificate (or certificates) for names listed below will expire in 10 days (on 02 Nov 19 21:00 +0000). Please, make your renewal certified before then, or your website will encounter errors.

We recommend renewing certificates automatically when they have a third of them
total lifetime left. For Let’s Encrypt’s current 90-day certificates, that means
renewing 30 days before expiration. If it’s
Integration Guide - Let's Encrypt for details.

mydomain.it

I tried to manually start the command I have in crontab:
"/etc/letsencrypt"/acme.sh --cron --home "/etc/letsencrypt" > /dev/null

I get the following error:

[Wed Oct 23 23:04:23 CEST 2019] Error, can not get domain token entry mydomain.it
[Wed Oct 23 23:04:23 CEST 2019] Please add '--debug' or '--log' to check more details.
[Wed Oct 23 23:04:23 CEST 2019] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
[Wed Oct 23 23:04:23 CEST 2019] Error renew mydomain.it.

I re-launched the command with the –log parameter, this is the result:

EDIT
Updated pastebin log with –debug parameter too:

Some idea?

Well I talked to myself in this topic, I update it for someone who may have the same problem.

Update acme.sh like this:
"/etc/letsencrypt"/acme.sh --upgrade --home "/etc/letsencrypt"

Then update the certificates:
"/etc/letsencrypt"/acme.sh --cron --home "/etc/letsencrypt" > /dev/null

Certificates should be updated.

7 Likes

Thank you for coming back and updating this thread with your solution. Saved mah bacon! <3

yes thank you! this was very helpful

1 Like