Project-Security-Metrics icon indicating copy to clipboard operation
Project-Security-Metrics copied to clipboard

Note: Renewing LetsEncrypt

Open scovetta opened this issue 3 years ago • 2 comments

Another thing that doesn't work well -- LetsEncrypt doesn't automatically renew properly.

To do it manually:

  1. SSH into the box.
sudo su
cd /opt/openssf/Project-Security-Metrics
docker exec -it docker_certbot_1 /bin/sh
certbot renew
# It's OK if there are errors about the cert for the Azure domain, just ignore.
exit
docker-compose -f ./docker/docker-compose.yml -f docker/docker-compose-production.yml restart nginx

scovetta avatar Apr 17 '22 06:04 scovetta

I had to restart the certbot container (before docker exec):

docker-compose -f ./docker/docker-compose.yml -f docker/docker-compose-production.yml restart certbot

Renewed until October 2022.

scovetta avatar Jul 15 '22 03:07 scovetta

Renewed until April 2023.

Also did a full apt-get update/upgrade.

scovetta avatar Jan 04 '23 05:01 scovetta