Hi all,
I've been having difficulties getting a cert generated for my self-hosted website. It is running on a VM server with Ubuntu 24.04 and Apache2 web server. I'm trying to generate the certificate via Nginx Proxy manager Add-on on my Home Assistant server. It has been serving me well for two other sites that I'm also self-hosting including the HAOS server itself, so I got two certs generated and they are regularly being successfully renewed using the described setup. This new site shouldn't be any different, but I just can't figure out what setting I might be missing.
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: ok2pad.klobouk.de
I ran this command: not using cmd-prompt directly - I'm using Nginx Proxy Manager Home Assistant add-on web console to generate a certificate via Let's Encrypt service - however the cmd being used in the backend is: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-46" --agree-tos --authenticator webroot --email "@.com" --preferred-challenges "dns,http" --domains "ok2pad.klobouk.de"
It produced this output: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-46" --agree-tos --authenticator webroot --email "@.com" --preferred-challenges "dns,http" --domains "ok2pad.klobouk.de"
Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
Some challenges have failed.
My web server is (include version): Apache2 2.4
The operating system my web server runs on is (include version): Ubuntu 24.04
My hosting provider, if applicable, is: Self-hosting
I can login to a root shell on my machine (yes or no, or I don't know): I can login to the HAOS server, but I don't know how to get into the Nginx add-on - it is probably running as a container, I haven't yet tried googling out how to get more data from it... if it is even possible, for now I don't really know if I can even get to that /tmp/letsencrypt-log folder anyhow...
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): Not sure how to get this info from the HAOS server
I have both ports 80 and 443 opened on my router towards the HAOS instance where NPM is running. I also have these ports allowed on the webserver - the site is actually accessbile via HTTP at the moment.
I've tried using letsdebug, but I'm getting strange outputs there - for instance msg saying:
ok2pad.klobouk.de has an A (IPv4) record (91.139.111.191) but a request to this address over port 80 did not succeed. Your web server must have at least one working IPv4 or IPv6 address.
A timeout was experienced while communicating with ok2pad.klobouk.de/91.139.111.191: Get "http://ok2pad.klobouk.de/.well-known/acme-challenge/letsdebug-test": context deadline exceeded
...which doesn't make any sense to me since the web itself is perfectly fine and can be accessed using the very same URL as mentioned above.
Thanks in advance to anyone willing to help me look into this.