My domain is: upgrade.sv-zoefelt.de
I ran this command:
certbot -d upgrade.sv-zoefelt.de --staging
It produced this output:
Challenge failed for domain upgrade.sv-zoefelt.de
http-01 challenge for upgrade.sv-zoefelt.de
Cleaning up challenges
Some challenges have failed.IMPORTANT NOTES:
The following errors were reported by the server:
Domain: upgrade.sv-zoefelt.de
Type: unauthorized
Detail: Invalid response from
http://upgrade.sv-zoefelt.de/.well-known/acme-challenge/S9T4farIuLOqsYJ2kgoRnTy8cOubXpprFvjWW5UWus0
[116.203.65.30]: "\n\n403
Forbidden\n\nForbidden
\n<p"To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version):
2.4.43-1+ubuntu20.04.1+deb.sury.org+7
The operating system my web server runs on is (include version):
Linux hcloud 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
My hosting provider, if applicable, is:
Hetzner Cloud
I can login to a root shell on my machine :
Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
Yes and No, i use CLI (sometimes Webmin)
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 0.40.0
I can access the Webpage via http, and I can access the .well-known/acme-challenge/, I've created manually.
But if I run the above command. the acme-challange-file wouldn't be created at least.
This is my vhost-file I've created for the domain:
<VirtualHost *>
ServerAdmin webmaster@sv-zoefeflt.de
ServerName upgrade.sv-zoefelt.de
DocumentRoot /var/www/sv-zoefelt.de/httpdocs/app/webroot
<Directory /var/www/sv-zoefelt.de/httpdocs/app/webroot>
Allowoverride all
CharsetDefault ISO-8859-1
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
How can I check, why the challange-file won't be created by the certbot?