Code: Select all
sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install certbot --classic
Code: Select all
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot certonly --standalone
Code: Select all
sudo certbot renew --dry-run
Code: Select all
systemctl list-timers | grep certbot
Code: Select all
/opt/pss/scripts/cert_update.sh
Code: Select all
chmod +x opt/pss/scripts/cert_update.sh
Code: Select all
opt/pss/scripts/cert_update.sh
Code: Select all
certbot renew --deploy-hook "opt/pss/scripts/cert_update.sh"
Code: Select all
sudo certbot renew --dry-run
Code: Select all
apt install certbot
certbot certonly
Code: Select all
chmod +x opt/pss/scripts/cert_update.sh
Code: Select all
opt/pss/scripts/cert_update.sh
Code: Select all
ls -lat /opt/pss/config/cert/
total 44
-rw------- 1 root root 241 May 26 07:52 epgserver.key
-rw------- 1 root root 241 May 26 07:52 httpserver.key
-rw------- 1 root root 241 May 26 07:52 webserver.key
-rw-r--r-- 1 root root 1338 May 26 07:52 epgserver.crt
-rw-r--r-- 1 root root 1338 May 26 07:52 httpserver.crt
-rw-r--r-- 1 root root 1338 May 26 07:52 webserver.crt