diff --git a/scripts/regenerate_certificates.sh b/scripts/regenerate_certificates.sh new file mode 100644 index 0000000..00b1bfd --- /dev/null +++ b/scripts/regenerate_certificates.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +echo "INFO Updating TLS certificates..." + +cd /home/thomas/self-host/proxy/nginx + +sudo docker compose down + +sleep 2 + +sudo certbot delete --certname systemsobscure.net + +sleep 2 + +sudo certbot certonly --standalone -d systemsobscure.net -d grafana.systemsobscure.net -d bookmarks.systemsobscure.net -d forgejo.systemsobscure.net