diff --git a/certbot.sh b/certbot.sh new file mode 100644 index 0000000..7120ad1 --- /dev/null +++ b/certbot.sh @@ -0,0 +1,9 @@ +#!/bin/bash +apt update +apt install snapd -y +snap install core +snap refresh core +snap install --classic certbot +ln -s /snap/bin/certbot /usr/bin/certbot + +certbot certonly --nginx \ No newline at end of file