Skip to content
This repository was archived by the owner on Sep 28, 2025. It is now read-only.

Renew Certificate

Gabe edited this page Aug 9, 2025 · 7 revisions

Not sure why certbot service is not active, but I couldn't get it to automatically renew. Something is very broken / dependency hell... Anyways, every 90 days you have to

ssh [email protected]
# or ssh -o "IdentitiesOnly=yes" -i ~/.ssh/your_key [email protected]
sudo certbot renew
# or sudo certbot renew --force-renewal

# need to restart either the machine or gunicorn, otherwise the certificate will not be renewed
sudo reboot
docker start # or the db will not start...

Or else the sfucsss.org site will kaput...

Only admins have access ofc

oh no everything is super broken

  • install a bunch of packages
  • temporarily update /etc/nginx/sites-available/website & comment out the certificate paths
  • follow the instructions from https://certbot.eff.org/instructions?ws=nginx&os=pip , but use the certbot that's installed in the site-packages folder for python3.8
Clone this wiki locally