Skip to content

Script to download Letsencrypt cert files from another server to Pi-hole.

Notifications You must be signed in to change notification settings

abaumg/pihole-letsencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

pihole-letsencrypt

Script to download Letsencrypt cert files from another server to Pi-hole.

Setup and usage

Prerequisites

You need a webserver in your LAN which serves the *.pem files you want to use on your Pi-hole. Usually, you obtain them from Letsencrypt via certbot.

Setup:

  • SSH into your Pi-hole: ssh root@pihole
  • Install required Python3 libraries: apt install python3-requests
  • Clone this repository: git clone https://github.com/abaumg/pihole-letsencrypt
  • Edit crontab: crontab -e and add a new line containing 0 3 * * * /usr/bin/python3 /root/pihole-letsencrypt/update_keyfiles.py 'http://internal.host/path/to/certs/'

About

Script to download Letsencrypt cert files from another server to Pi-hole.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages