Skip to content

Use Cloudflare and Let's Encrypt to add a certificate to the Pi-Hole web interface and make the automatic renewal process work.

License

Notifications You must be signed in to change notification settings

Gestas/Pi-Hole-TLS-with-Cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Automated Let's Encrypt certificates for Pi-Hole on Raspbian with Cloudflare

Use Cloudflare and Let's Encrypt to add a certificate to the Pi-Hole web interface and make the automatic renewal process work.

Requires Certbot and the Cloudflare plugin.

sudo apt-get install certbot python3-certbot-dns-cloudflare

USAGE:

$ wget https://raw.githubusercontent.com/Gestas/Pi-Hole_Cloudflare_TLS/master/Pi-Hole_Cloudflare_TLS.sh
$ chmod +x Pi-Hole_Cloudflare_TLS.sh
$ sudo ./Pi-Hole_Cloudflare_TLS.sh <email address> <domain name> <path to Cloudflare auth file>

This script only needs to be run once, you can delete it after that.

References -

Tested with Raspbian GNU/Linux 10 (buster) and Pi-Hole v4.3.2.

About

Use Cloudflare and Let's Encrypt to add a certificate to the Pi-Hole web interface and make the automatic renewal process work.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages