My domain is: gschmidt.duckdns.org
I ran this command:
sudo /etc/letsencrypt/letsencrypt-auto certonly --manual --preferred-challenges dns --email email@example.com -d gschmidt.duckdns.org -w /home/pi/domoticz/www/
It produced this output:
My web server is (include version): Domoticz Version: 4.10717
The operating system my web server runs on is (include version): Raspbian Buster version 10
I can login to a root shell on my machine (yes or no, or I don’t know): yes
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot): 1.2.0
It has been 3 years ago since my last installed letsencrypt for Domoticz.
Back then I had to create an auth.sh and cleanup.sh and then the command to create the certificate:
sudo /etc/letsencrypt/letsencrypt-auto certonly --manual --preferred-challenges dns --manual-auth-hook /home/pi/duckdns/auth.sh --manual-cleanup-hook /home/pi/duckdns/cleanup.sh
It seems to have changed a bit when using
--preferred-challenges=dns and create a DNS TXT record
Since my router/firewall software pfSense is blocking port 80, and I am not allowed to re-route it I have to use this option. But on the domoticz site is not described where to use or store the DNS TXT record and what should be included in the record.
Could somebody explain to me how to deploy the DNS record?