When i try to install ssl let's encrypt, it says host unreachable

My domain is: hostasyouneed[.]com and boots-collection[.]com

I ran this command: # certbot --apache

It produced this output:It returns to the same screen instead of showing certificate

~# certbot -apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The requested pache plugin does not appear to be installed
root@ns3020101:~# certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): hostasyouneed.com, boots-collection.com
Requesting a certificate for hostasyouneed.com and boots-collection.com

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
  Domain: boots-collection.com
  Type:   unauthorized
  Detail: Invalid response from http://boots-collection.com/.well-known/acme-challenge/BBsLHBOKD6raRWoNxUT3dvT_KSYIDN2yftAqGnyQehw [94.23.220.197]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"

  Domain: hostasyouneed.com
  Type:   unauthorized
  Detail: Invalid response from http://hostasyouneed.com/.well-known/acme-challenge/-uW7twhYyDKDtLoH38kpnDHdj1qQpx1GjSD-NEXjwMo [94.23.220.197]: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n   \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<ht"

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.

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): apache2

The operating system my web server runs on is (include version): debian buster 10

My hosting provider, if applicable, is: kimsufi

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):Yes ispconfig

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 1.18.0

i get an error when i try to install ssl let's encrypt, it says host unreachable

3 Likes

i'm sorry but could an admin move my topic to a new thread or might not be useful ?
really sorry to bother

3 Likes

Hi @bruno_doutriaux, welcome to the LE community forum :slight_smile:
[and thanks @JimPas for moving this into a new topic]

Let's begin to unravel this problem with the output of:
sudo apachectl -t -D DUMP_VHOSTS

3 Likes

boots-collection[.]com
kimsufi
root access yes
debian buster 10
commande : ~# cert --apache
je n'arrive pas à autoriser le ssl sur ce domaine

If it wasn't clear: @rg305 asked if you could run the following command:

sudo apachectl -t -D DUMP_VHOSTS

..and post the output of the command in this thread.

3 Likes