
Let’s Encrypt certificates are valid for 90 days, but it’s recommended that you renew the certificates every 60 days to allow a margin of error. Restart apache systemctl start apache2 6. Sed -i -follow-symlinks /etc/apache2/sites-enabled/nf -Ee 's,(\s+SSLCertificateKeyFile\s+).+,\1'$KEY',g' 5. Sed -i -follow-symlinks /etc/apache2/sites-enabled/nf -Ee 's,(\s+SSLCertificateFile\s+).+,\1'$CERT',g'

KEY=$(find /etc/letsencrypt/live/ -name priv*) Update Apache config, run these commands in the EVE CLI.ĬERT=$(find /etc/letsencrypt/live/ -name fullchain*) This sample will use certbot certonly -standalone -preferred-challenges http -d 4. You need to choose your full site name for this step. On CLI, copy/paste following lines: apt update NOTE: the procedure below require to keep open ports 80 and 443 to have periodic Let’s Encrypt certificate renewal 1. HowTo enable SSL EVE PRO with Let’s Encryptĭon’t apply this method for EVE-COMMUNITY Instructions
