Renewing Letsencrypt certificates

From wiki.ferrari.mo.it
Jump to navigation Jump to search

Stop apache server

systemctl stop apache2

Run certbot

certbot certonly --standalone

listing all the names

qwyddy-tech.com www.qwyddy-tech.com qwyddy-tech.it www.qwyddy-tech.it

Replace the certificates

cd /etc/letsencrypt/live/
rm -rf qwyddy-tech.com
mv qwyddy-tech.com-0001 qwyddy-tech.com

Restart apache

systemctl start apache2