My letsencrypt certificate just expired on April 10, I remember setting up box install letsencrypt
after installing QB on Ubuntu 16.04 and I was under the impression of auto renew so I ignored the “Let’s Encrypt Expiry Bot” emails. I attempt on rerunning the box install letsencrypt
command and here is what I get
[3731:3730 0:50] 04:52:56 Sat Apr 11 [root@seedbox] ~
(1:50)# box install letsencrypt
Installing letsencrypt
socat is already the newest version (1.7.3.1-1).
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
fatal: destination path ‘acme.sh-master’ already exists and is not an empty dire ctory.
Please enter an administrator email: [email protected]
Please enter a valid domain: my.domain.com
[Sat Apr 11 04:55:45 EDT 2020] Installing to /root/.acme.sh
[Sat Apr 11 04:55:45 EDT 2020] Installed to /root/.acme.sh/acme.sh
[Sat Apr 11 04:55:45 EDT 2020] Installing alias to ‘/root/.bashrc’
[Sat Apr 11 04:55:45 EDT 2020] OK, Close and reopen your terminal to start using acme.sh
[Sat Apr 11 04:55:45 EDT 2020] Installing cron job
11 0 * * * “/root/.acme.sh”/acme.sh --cron --home “/root/.acme.sh” > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
[Sat Apr 11 04:55:45 EDT 2020] Good, bash is found, so change the shebang to use bash as preferred.
[Sat Apr 11 04:55:46 EDT 2020] OK
[Sat Apr 11 04:55:46 EDT 2020] Domains not changed.
[Sat Apr 11 04:55:46 EDT 2020] Skip, Next renewal time is: Wed Jun 10 08:35:20 U TC 2020
[Sat Apr 11 04:55:46 EDT 2020] Add ‘–force’ to force to renew.
I refresh the dashboard page and it still warns about using http, this site is not secured (https). Judging by crontab -e
I’ve attempted this a few times with
acme.sh --cron --home "/root/.acme.sh" --force
"/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" --force
both finish with a Cert success
11 0 * * * “/root/.acme.sh”/acme.sh --cron --home “/root/.acme.sh” > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
30 2 * * 1 ~/acme.sh-master/acme.sh --cron --home ~/acme.sh > /dev/null
Any ideas on what to do?