Created
October 5, 2016 03:00
-
-
Save tuxpowered/43b5b264735a6de2f63595956b0e38a3 to your computer and use it in GitHub Desktop.
Add dehydrated/letsencrypt.sh to pfSense
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
# Login | |
ssh root@pfsense | |
# Install tools | |
pkg install -y bash git | |
cd /usr/local | |
/usr/local/bin/git clone https://github.com/lukas2511/dehydrated.git | |
# Configure dehydrated/letsencrypt.sh | |
cd dehydrated | |
cp docs/examples/config . | |
cp docs/examples/domains.txt . | |
# if your hostname is not set to public resolution, add it by hand. | |
hostname > domains.txt | |
# Define wellknown location | |
echo "WELLKNOWN=/usr/local/www/.well-known/acme-challenge" >> config | |
mkdir -p /usr/local/www/.well-known/acme-challenge | |
# Get SSL | |
./dehydrated -c | |
# Extract |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment