Hi,
I have Home Assistant running on RPi 4, and im trying to setup remote access using this simple tutorial (starts at about 7:49)
Problem is, when I want to enable SSL certificates and force SSL and press enter, it says “internal error”. The log file shows this towards the end:
[2/19/2022] [9:09:10 AM] [Nginx ] › ℹ info Reloading Nginx
[2/19/2022] [9:09:10 AM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #5: XXX.duckdns.org
[2/19/2022] [9:09:16 AM] [Nginx ] › ℹ info Reloading Nginx
[2/19/2022] [9:09:16 AM] [Express ] › ⚠ warning Command failed: /usr/bin/certbot certonly --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-5" --agree-tos --email "[email protected]" --preferred-challenges "dns,http" --domains "XXX.duckdns.org"
Saving debug log to /data/logs/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Performing the following challenges:
http-01 challenge for XXX.duckdns.org
Using the webroot path /data/letsencrypt-acme-challenge for all unmatched domains.
Waiting for verification...
Challenge failed for domain XXX.duckdns.org
http-01 challenge for XXX.duckdns.org
Cleaning up challenges
Some challenges have failed.
I’ve confirmed with my ISP and port checker, that port 80 is not blocked. I can actually login to my HA using my duckDNS url (on a different network) with HTTP only. How do I enable SSL?
Before this, I had DuckDNS with SSL enabled and working. I unsinstalled DuckDNS and MariaDB and then I reinstalled them again…but still geting this error.
Any help would be appreciated.