My domain is: www.hemotrans.com.ar
I ran this command: certbot -v
It produced this output:
http-01 challenge for www.hemotrans.com.ar
Waiting for verification...
Challenge failed for domain www.hemotrans.com.ar
http-01 challenge for www.hemotrans.com.ar
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: www.hemotrans.com.ar
Type: unauthorized
Detail: 2a02:4780:b:1058:0:e1c:bcb8:2: Invalid response from http://www.hemotrans.com.ar/.well-known/acme-challenge/mGyHEzG5jkuw6ESGAZWVI58OlTdDHp2JSSiSzDXwcXc: 404
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Cleaning up challenges
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):
Server version: Apache/2.4.56 (Debian)
Server built: 2023-04-02T03:06:01
The operating system my web server runs on is (include version):
Debian v11.9
My hosting provider, if applicable, is: Hostinger
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, i have a vps
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
My problem is that certbot does not generate the ".well-known" folder
I am executing the certbot command with the root user,
ServerRoot permissions "/var/www/html/api-rest" are www-data