Estoy tratando de crear un dominio con Certbot, pero me marca el error a continuación, mi aplicación web lo tengo lanzado en una instancia EC2 de AWS, también tengo configurado un Router 53 para reenrutar el trafico, pero ni aun así e podido solucionar el problema, me podrían ayudar con esto?
My domain is: redvigia.net, subdominio: www.redvigia.net
I ran this command: sudo certbot --nginx
Mi archivo de configuracion contiene lo siguiente -->
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name redvigia.net www.redvigia.net;
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html;
location / {
proxy_pass http://localhost:8080;
}
}
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which names would you like to activate HTTPS for?
1: redvigia.net
2: www.redvigia.net
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
Requesting a certificate for redvigia.net and www.redvigia.net
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: redvigia.net
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for redvigia.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for redvigia.net - check that a DNS record exists for this domain
Domain: www.redvigia.net
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for www.redvigia.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for www.redvigia.net - check that a DNS record exists for this domain
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.
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): Es: nginx version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version): Linux/UNIX, Ubuntu Server 22.04.4 LTS
My hosting provider, if applicable, is: Estancia EC2 de AWS, version Gratuita.
I can login to a root shell on my machine (yes or no, or I don't know): si
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No se cual seria eso.
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 1.21.0