We recently moved a bunch of sites to a self-managed server and I used let's encrypt to issue SSL certs to the sites:
I ran these commands to install the certificates initially:
cd /usr/local/letsencrypt
./letsencrypt-auto --apache -d cr8space.com
./letsencrypt-auto --apache -d acmestudio.com
My question is what the command would be to automatically renew these certificates with a cron job
My web server is (include version):
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2020-08-12T21:33:25
The operating system my web server runs on is (include version):
#25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
My hosting provider, if applicable, is:
- Self hosted @ AWS
I can login to a root shell on my machine (yes or no, or I don't know):
- Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
- No.
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
cd /usr/local/letsencrypt
./letsencrypt-auto --version
Your system is not supported by certbot-auto anymore.
Certbot will no longer receive updates.
Please visit https://certbot.eff.org/ to check for other alternatives.
certbot 1.9.0