Guide to Installing, Generating, and Renewing SSL Certificates with Certbot and Third-Party CAs on UTMStack Servers
sudo apt update sudo apt install certbot python3-certbot-nginx nginx
sudo docker pause id_container_frontend
sudo systemctl start nginx
sudo certbot --nginx -d <your-domain>
sudo certbot certonly --manual \ --preferred-challenges=dns \ --email info@<your-domain> \ --server https://acme-v02.api.letsencrypt.org/directory \ --agree-tos \ -d <your-domain>
sudo cp your_certificate.crt /utmstack/cert/utm.crt sudo cp your_private_key.key /utmstack/cert/utm.key
sudo docker stop id_container_frontend
sudo systemctl disable nginx sudo systemctl stop nginx
sudo certbot renew
sudo cp /etc/letsencrypt/live/<your-domain>/fullchain.pem /utmstack/cert/utm.crt sudo cp /etc/letsencrypt/live/<your-domain>/privkey.pem /utmstack/cert/utm.key
sudo certbot certificates