• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Pruebas Online
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

490
Vistas
El desafío HTTP 01 falló al usar lets-encrypt

Estoy usando el servidor ubuntu ec2 apache que aloja la aplicación web nodejs y estoy tratando de usar Lets-encrypt para obtener el certificado SSL para mi dominio drugfair.org. El problema es cuando aplico sudo certbot --apache get HTTP 01 challenge fail.

 Waiting for verification... Challenge failed for domain drugfair.org Challenge failed for domain www.drugfair.org http-01 challenge for drugfair.org http-01 challenge for www.drugfair.org Cleaning up challenges Some challenges have failed. IMPORTANT NOTES: - The following errors were reported by the server: Domain: drugfair.org Type: unauthorized Detail: Invalid response from http://drugfair.org/.well-known/acme-challenge/9hPXdeQ4ymWoNAoMtG0ewLzdQxljPMTuDUrTVBJWM7E [18.***.*.**]: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>ReferenceError: /var/www" Domain: www.drugfair.org Type: unauthorized Detail: Invalid response from http://www.drugfair.org/.well-known/acme-challenge/AYVcrbDpcp3ubI0P-pXp0wx_McMlGiopZOzJzhAqyQw [18.***.*.**]: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>ReferenceError: /var/www" 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.

pero cuando trato de acceder a mi sitio web desde el navegador a través de

http://drugfair.org o a través 18.***.*.**:3100/

es accesible sin errores de referencia pero cuando trato de acceder a mi sitio web desde dentro de ec2 usando este comando

curl http://18.***.**.*:3100

me da error de referencia

almost 3 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda