mardi 5 novembre 2019

Certbot SSL certificate doesn't work with www

i have a cloud ubuntu 16.04 server with apache2 and i uses let'sincrept and i have problem with some browsers like safari that puts www. as default and it check it as unsecured when i try

sudo certbot --apache -d name.com.eg -d www.name.com.eg

this show this error

    IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: www.name.com.eg
   Type:   unauthorized
   Detail: Invalid response from
   http://www.name.com.eg/.well-known/acme-challenge/t9hQnho9ki4GXwcghcOnFKjHcNIW1e4g1dtPwfPHfOA
   [46.101.208.92]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
   2.0//EN\">\n<html><head>\n<title>403
   Forbidden</title>\n</head><body>\n<h1>Forbidden</h1>\n<p"

   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. 
'sudo certbot --apache -d mido.com.eg -d www.mido.com.eg'
'IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: www.name.com.eg
   Type:   unauthorized
   Detail: Invalid response from
   http://www.name.com.eg/.well-known/acme-challenge/t9hQnho9ki4GXwcghcOnFKjHcNIW1e4g1dtPwfPHfOA
   [46.101.208.92]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
   2.0//EN\">\n<html><head>\n<title>403
   Forbidden</title>\n</head><body>\n<h1>Forbidden</h1>\n<p"

   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.

how can i fix it to expand to www.name.com.eg????




Aucun commentaire:

Enregistrer un commentaire