fix: Make cert script executable
All checks were successful
Build Docker / Build Docker (push) Successful in 26s
All checks were successful
Build Docker / Build Docker (push) Successful in 26s
This commit is contained in:
parent
46b3fcbc80
commit
3bc6d2f6ad
@ -6,15 +6,13 @@ if [ "$EUID" -ne 0 ]
|
||||
exit
|
||||
fi
|
||||
|
||||
chmod +x cert.sh
|
||||
chmod +x cert.sh cert.py
|
||||
sudo apt-get install -y dnsdist
|
||||
# Install certbot
|
||||
sudo apt install snapd
|
||||
sudo snap install --classic 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 cp ./resolved.conf /etc/systemd/resolved.conf
|
||||
sudo systemctl restart systemd-resolved
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user