Hi,
Not sure if anyone can help but I’ve been trying to set up let’s encrypt for my Hassbian 0.40 on my RPi3.
I managed to set up a duckdns domain but having trouble with the let’s encrypt SSL. Please see below:
Ports were set 80 to 80, 443 to 443.
Requesting root privileges to run certbot...
/home/pi/.local/share/letsencrypt/bin/letsencrypt certonly --email [email protected] -d redacted.duckdns.org
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Failed to find apache2ctl in PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
I get the error above but still managed to generate the SSL certs. However, when I plug them into my configuration.yaml, check the script, it runs but when I restart HA, I can’t access it internally or via the domain.
I set port forward 443 to 8123 after configuring the configuration.yaml
Can’t figure out what the problem is, could it be due to the “Failed to find apache2ctl” line when I was getting the certs?