I'm trying to setup HTTPS for a HomeAssistant configuration. Using DuckDNS.org as DNS registry to resolve the dynamic IP of my ISP with the duckdns.org subdomain.
The installation is on a Raspberry PI. The raspberry is running HomeAssistant (WebUI port 8123) and Pi-hole (WebUI port 80).
Forwarded external port 8321 to internal port 8123 on the router. Trying to run the certbot docker instance to get going (as per the instructions).
Executing the certbot command with port combination 8123:8321 returns:
Error response from daemon: driver failed programming external connectivity on endpoint certbot (a907a8bec71db3d41aabd8ff4d096c93e821739c843284fcba3875090a70cb09): Error starting userland proxy: listen tcp 0.0.0.0:8123: bind: address already in use.
Executing the certbot command with port combination 81:8321 returns:
standard_init_linux.go:207: exec user process caused "exec format error"
My domain is: grembeirn.duckdns.org
I ran this command: sudo docker run -it --rm -p 81:8321 --name certbot -v "/etc/letsencrypt:/etc/letsencrypt" -v "/var/lib/letsencrypt:/var/lib/letsencrypt" quay.io/letsencrypt/letsencrypt:latest certonly --standalone --standalone-supported-challenges http-01 --email myemail@email.com -d grembeirn.duckdns.org
It produced this output: standard_init_linux.go:207: exec user process caused "exec format error"
My web server is (include version): HomeAssistant
The operating system my web server runs on is (include version): Debian Buster (Raspbian)
My hosting provider, if applicable, is: local host
I can login to a root shell on my machine (yes or no, or I don't know): yes, locally
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 0.31.0