Hi, I can not get a certificate running the certbot command below.
It is obvious to me, that I can not access the certbot created file, so I tried
to put a index.html file into that directory, but I can not access it either.
So in "/var/www/html/.well-known/acme-challenge" I can not access any file, but
I can access "/var/www/html/.well-known/acme-challeng" via http://x-econ.org/.well-known/acme-challenge/index.html (does not work) or Apache2 Ubuntu Default Page: It works for letsenrcypt (works).
Any help would be appriciated
My domain is: x-econ.org
I ran this command:
certbot certonly -a webroot -w /var/www/html/.well-known/acme-challenge -d x-econ.org --dry-run
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Simulating a certificate request for x-econ.org
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Detail: Invalid response from http://x-econ.org/.well-known/acme-challenge/Tk_tPwlChMTBQH1_BuZfn03fctMpY53JYyLq4E483kg [184.108.40.206]: "\n\n404 Not Found\n\n
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): Apache 2.4.29-1ubuntu4.21
The operating system my web server runs on is (include version): Ubuntu 18
My hosting provider, if applicable, is:
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):
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you're using Certbot): certbot 1.22.0