SSL Certificate Management in UTMStack
This guide provides comprehensive steps on installing, generating, and renewing SSL certificates for UTMStack.
Manual SSL Certificate Installation
Before beginning, ensure you've downloaded your certificate files. After downloading:
You should have:
A certificate file with the extension
.crtor.pemA private key with the extension
.keyor.pem
Rename the files:
Certificate:
utm.crtPrivate Key:
utm.key
Transfer both files to your server:
mv utm.crt /utmstack/cert/
mv utm.key /utmstack/cert/Restart Docker for the changes to take effect:
systemctl restart dockerAllow approximately 10 minutes for the stack to restart.
Note: Once these steps are completed, your SSL certificate will be installed and configured for UTMStack. For any issues or questions during the installation, please contact our support team.
Generate SSL with Certbot in UTMStack without DNS Change
Install Certbot
Note: Install the necessary tools and dependencies:
sudo apt install certbot python3-certbot-nginxManage Services pause utmstack_frontend services:
docker service scale utmstack_frontend=0
docker ps | grep frontendThen, start Nginx:
systemctl start nginxGenerate SSL Certificate
Replace "siem.domain.com" with your domain:
sudo certbot --nginx -d siem.domain.comUpdate SSL Certificate in UTMStack
cp /etc/letsencrypt/live/*/fullchain.pem /utmstack/cert/utm.crt
cp /etc/letsencrypt/live/*/privkey.pem /utmstack/cert/utm.key
docker service scale utmstack_frontend=1
docker ps | grep frontend
systemctl restart dockerRenew the Certificate Generated by Certbot in UTMStack
Manage Services pause utmstack_frontend services:
docker service scale utmstack_frontend=0Renew SSL Certificate
certbot renewUpdate SSL Certificate in UTMStack
Replace "siem.domain.com" with your specific domain:
cp /etc/letsencrypt/live/siem.domain.com/fullchain.pem /utmstack/cert/utm.crt
cp /etc/letsencrypt/live/siem.domain.com/privkey.pem /utmstack/cert/utm.key
docker service scale utmstack_frontend=1
docker ps | grep frontend
systemctl restart docker