Official Methods:
- AdGuard Home Installation: https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#installation
- Enabling Encryption Documentation: https://github.com/AdguardTeam/AdGuardHome/wiki/Encryption/
My Installation:
- AdGuard Home on Proxmox LXC container. Helper Script: https://helper-scripts.com/scripts?id=AdGuard+Home
- Encryption with certbot in the same LXC container:
- A registered domain
- DNS Management admin portal access like I am using Cloudflare to manage DNS settings for the purchased domain.
-
Install Certbot and it’s Nginx plugin with apt:
sudo apt install certbot
- Note:
snapd
is not required
- Note:
-
Generate certificate using the following command:
sudo certbot certonly --manual --preferred-challenges=dns --preferred-chain="ISRG Root X1"
-
Follow the instructions
- Provide the domain name which you registered. I have created a subdomain for managing DNS.
- Add the TXT records in the DNS management admin portal for verification.
-
Two files
fullchain.pem
andprivkey.pem
will generated. Pleas note the paths for these two files. -
Navigate to the AdGuard Home Web UI -> Settings -> Encryption Settings
- Check the Enable Encryption (HTTPS, DNS-over-HTTPS, and DNS-over-TLS) to enable the below settings
- provide the server name
- mention the certificate and private key paths which are generated by the certbot
- Done