Project-Security-Metrics
Project-Security-Metrics copied to clipboard
Note: Renewing LetsEncrypt
Another thing that doesn't work well -- LetsEncrypt doesn't automatically renew properly.
To do it manually:
- 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
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.
Renewed until April 2023.
Also did a full apt-get update/upgrade.