Skip to content

Instantly share code, notes, and snippets.

@tuxpowered
Created October 5, 2016 03:00
Show Gist options
  • Save tuxpowered/43b5b264735a6de2f63595956b0e38a3 to your computer and use it in GitHub Desktop.
Save tuxpowered/43b5b264735a6de2f63595956b0e38a3 to your computer and use it in GitHub Desktop.
Add dehydrated/letsencrypt.sh to pfSense
# 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