fix: Make cert script executable
All checks were successful
Build Docker / Build Docker (push) Successful in 26s

This commit is contained in:
Nathan Woodburn 2023-12-22 18:16:04 +11:00
parent 46b3fcbc80
commit 3bc6d2f6ad
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -6,15 +6,13 @@ if [ "$EUID" -ne 0 ]
exit exit
fi fi
chmod +x cert.sh chmod +x cert.sh cert.py
sudo apt-get install -y dnsdist sudo apt-get install -y dnsdist
# Install certbot # Install certbot
sudo apt install snapd sudo apt install snapd
sudo snap install --classic certbot sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot certonly --manual --manual-auth-hook ./cert.py --preferred-challenges dns -d hnsdoh.com --deploy-hook ./cert.sh sudo certbot certonly --manual --manual-auth-hook ./cert.py --preferred-challenges dns -d hnsdoh.com --deploy-hook ./cert.sh
sudo cp ./resolved.conf /etc/systemd/resolved.conf sudo cp ./resolved.conf /etc/systemd/resolved.conf
sudo systemctl restart systemd-resolved sudo systemctl restart systemd-resolved