This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# script original path: /config/scripts/setup-letsencrypt.sh | |
# Setup Let's Encrypt for GUI (works for me) | |
# tested on EdgeRouter X (v1.9.1), logged in as root | |
# only need to be run once after reset or firmware upgrade | |
# I chose acme.sh (https://github.com/Neilpang/acme.sh) to handle the certificate issuing process | |
# using DNS-01 challenge to verify my domain | |
DOMAIN=a.domain.under.your.control |