Hey guys,
like every year im falling into the same issue and need again and again your excellent support.
Ok...im running an UBUNTU-Server as a HOST and have to VirtualBox Machines that are well configured.
Last night i set an nginx webserver on the HOST machine to forward ports like 8443 to 443 .
The background is, that i set up two NAT-networks on vbox that uses two connections.
Ok anyway.....one of the machines are not able to update the certs with certbot.
The dry-run was good but whenever i start to do a real update it ends with failures.
Ports 80 and 443 are setup in the firewall but im using for nginx the port 8443 to forward it to the VM.
Now i need some help from your end to solve my problem.
My (sub-)domain is:
kgswebtest.peritia-itc.de
I ran this commands:
certbot certonly --dry-run ==> The dry run was successful!
certbot certonly --webroot -w /var/www/html/KGS/ -d kgswebtest.peritia-itc.de => fail!
certbot renew -v
It produced this output:
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: kgswebtest.peritia-itc.de
Typ: unauthorized
Detail: Invalid response from from http://kgswebtest.peritia-itc.de/.well-known/acme-challenge/file: 502
Hint: The Certificate Authority failes to download the temporary challenge files created by Certbot. Ensure.....
My web server is (include version):
apache2
nginx (with reverse proxy configuration on the Host)
The operating system my web server runs on is (include version):
Ubuntu 24.04.03 LTS
My hosting provider, if applicable, is:
No, provider. Own Host.
I can login to a root shell on my machine (yes or no, or I don't know):
yes
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): certbot 2.9.0