This video is outdated after I found updating Pi-hole will overwrite the SSL config. The new video showing updated steps can be found at: https://youtu.be/yUdmBGe9wYA
Prerequisites
- A XCA PKI database https://youtu.be/ezzj3x207lQ
Create Your SSL Certificate
Exporting Required Files
Applying the Certificates
Install xrdp to simplify administration by running the following command sudo apt-get install xrdpConnect to the Raspberry Pi via Remote Desktop Client Copy the certificates exported above to the Pi Copy the certificates exported above to /etc/lighttpd cp /home/pi/Downloads/PiHole.pem /etc/lighttpd
cp /home/pi/Downloads/ca-chain.pem /etc/lighttpdEdit lighttpd.conf mousepadFile > Open /etc/lighttpd/lighttpd.conf Add "mod_openssl" to server.modules Add the following lines server.name = "pihole.i12bretro.local"
server.port = 443
ssl.engine = "enable"
ssl.pemfile = "PiHole.pem"
ssl.ca-file = "ca-chain.pem"File > Save > /home/pi/Downloads/lighttpd.conf In terminal, paste the following commands cp /home/pi/Downloads/lighttpd.conf /etc/lighttpd
service lighttpd restartOpen a web browser and navigate to PiHole via https://