Hi everyone:)
Im facing the isue that you can see below when im trying to install SSL certificate to me domain on an VPS Ubuntu Enviroment. Take on count that DNS are setted up correctly but it seems like certbot cant' acces to some files.
Here's also my Nginx file if u need:
server {
listen 80;
server_name mrnovaoficial.com www.mrnovaoficial.com;
root /root/MrNovaWebSite/build; # Path to the React app's build directory
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location ~ /.well-known/acme-challenge {
allow all;
root /var/www/html; # Cambia esta línea
try_files $uri =404;
}
}
My domain is:
I ran this command:
sudo certbot --nginx -d mrnovaoficial.com -d www.mrnovaoficial.com
It produced this output:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: mrnovaoficial.com
Type: unauthorized
Detail: 2a02:4780:8:1027:0:1760:d9e4:2: Invalid response from http://mrnovaoficial.com/.well-known/acme-challenge/C6jLRZ8ijm_bILb5OGQ4ayEOb8KWKENf1GBzqXbYq6E: 404
Domain: www.mrnovaoficial.com
Type: unauthorized
Detail: 2a02:4780:8:1027:0:1760:d9e4:2: Invalid response from http://www.mrnovaoficial.com/.well-known/acme-challenge/vRBqEji6GmKqjBOmEBNLdpAyBsg6Sz3-i20gPO6l7-c: 404
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
Hostinger
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):