# Challenges Failed Due To Invalid Response From .well-known

**URL:** <https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334>\
**Category:** Help\
**Created:** [July 16, 2022, 10:05pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334 "2022-07-16T22:05:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 16, 2022, 10:05pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/1 "2022-07-16T22:05:42Z")

</div>

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. [crt.sh | example.com](https://crt.sh/?q=example.com)), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:[https://walkershire.net](https://walkershire.net)

I ran this command: certbot certonly -d [www.D7036.com](http://www.D7036.com) -d [www.envirotemps.com](http://www.envirotemps.com) -d www.Hi-Tech.rent -d [www.walkershire.net](http://www.walkershire.net)

It produced this output: Domain: www.hi-tech.rent  
Type: unauthorized  
Detail: 70.89.220.117: Invalid response from [https://www.hi-tech.rent/.well-known/acme-challenge/mKgGLGq\_d6fXfp8WTM4HoqgZ5Du27cy2ZSQnwhpP9AU:](https://www.hi-tech.rent/.well-known/acme-challenge/mKgGLGq_d6fXfp8WTM4HoqgZ5Du27cy2ZSQnwhpP9AU:) 404

Note: other 3 were the same.

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

My web server is (include version):Apache 2.4

The operating system my web server runs on is (include version): MacOS 12.4

My hosting provider, if applicable, is: my company

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

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

---

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 16, 2022, 10:07pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/2 "2022-07-16T22:07:07Z")

</div>

Background and Question  
My httpd-VHosts.config file has 9 names. I would like to have both WWW and naked certificates for 7 of these.

I currently have naked certificate for 3 plus a subdomain certificate for 1.

These 4 all have working SSL certificates

Today I tried to create 4 www certificates and failed because of Invalid response from [https://www.hi-tech.rent/.well-known/acme-challenge/](https://www.hi-tech.rent/.well-known/acme-challenge/)

3 of these do have .well-known folders containing a folder named pki-validation which where for certificates that expired earlier this year. The 4th does not have a .well-known folder.

I had previously tried to create some of these WWW certificates but fail due to a problem which has since been fixed with help from rg305 as documented in my earlier posts on this forum.

What do I need to do to get these certificates?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 17, 2022, 6:14pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/3 "2022-07-17T18:14:21Z")

</div>

Let's start with the output of:  
`apachectl -t -D DUMP_VHOSTS`

---

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 17, 2022, 10:18pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/4 "2022-07-17T22:18:13Z")

</div>

> [@rg305](#):
>
> apachectl -t -D DUMP\_VHOSTS

```nohighlight
lowerlevel@lowerlevels-Mac-mini ~ % apachectl -t -D DUMP_VHOSTS
AH00112: Warning: DocumentRoot [/usr/local/var/www/Hi-TechRent] does not exist
AH00112: Warning: DocumentRoot [/usr/local/var/www/Hi-TechRent] does not exist
VirtualHost configuration:
*:80 is a NameVirtualHost
         default server walkershire.net (/usr/local/etc/httpd/extra/httpd-vhosts.conf:28)
         port 80 namevhost walkershire.net (/usr/local/etc/httpd/extra/httpd-vhosts.conf:28)
                 alias www.walkershire.net
         port 80 namevhost beyond.cleanair.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:69)
         port 80 namevhost envirotemps.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:110)
                 alias www.envirotemps.com
         port 80 namevhost hi-tech.rent (/usr/local/etc/httpd/extra/httpd-vhosts.conf:150)
                 alias www.hi-tech.rent
         port 80 namevhost D7036.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:190)
                 alias www.D7036.com
         port 80 namevhost Hi-TechRent.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:229)
                 alias www.Hi-TechRent.com
         port 80 namevhost www.remiwalker.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:298)
                 alias remiwalker.com
         port 80 namevhost 70.89.220.117 (/usr/local/etc/httpd/extra/httpd-vhosts.conf:353)
         port 80 namevhost localhost (/usr/local/etc/httpd/extra/httpd-vhosts.conf:399)
*:443 is a NameVirtualHost
         default server walkershire.net (/usr/local/etc/httpd/extra/httpd-vhosts.conf:36)
         port 443 namevhost walkershire.net (/usr/local/etc/httpd/extra/httpd-vhosts.conf:36)
                 alias www.walkershire.net
         port 443 namevhost beyond.cleanair.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:77)
         port 443 namevhost envirotemps.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:118)
                 alias www.envirotemps.com
         port 443 namevhost hi-tech.rent (/usr/local/etc/httpd/extra/httpd-vhosts.conf:158)
                 alias www.hi-tech.rent
         port 443 namevhost D7036.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:198)
                 alias www.D7036.com
         port 443 namevhost Hi-TechRent.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:237)
                 alias www.Hi-TechRent.com
         port 443 namevhost localhost (/usr/local/etc/httpd/extra/httpd-ssl.conf:121)

```

If fixed the Hi-TechRent] does not exist issue by renaming the folder.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 17, 2022, 11:00pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/5 "2022-07-17T23:00:24Z")

</div>

Let's have a look at this file:  
`/usr/local/etc/httpd/extra/httpd-vhosts.conf`

---

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 17, 2022, 11:40pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/6 "2022-07-17T23:40:12Z")

</div>

> [@rg305](#):
>
> /usr/local/etc/httpd/extra/httpd-vhosts.conf

```nohighlight
# Virtual Hosts
#
# Required modules: mod_log_config

# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
########################################
##### #####
##### Walkershire.NET #####
##### #####
########################################
<VirtualHost *:80>
## ServerAdmin admin@walkershire.net
    ServerName walkershire.net
    ServerAlias www.walkershire.net
    DocumentRoot "/usr/local/var/www/walkershire"
    Redirect / https://www.walkershire.net/
</VirtualHost>

<VirtualHost *:443>

    ServerName walkershire.net
    ServerAlias www.walkershire.net
    DocumentRoot "/usr/local/var/www/walkershire"
    SSLEngine on
    SSLCertificateKeyFile /usr/local/etc/certbot/certs/live/walkershire.net/privkey.pem
    SSLCertificateFile /usr/local/etc/certbot/certs/live/walkershire.net/cert.pem
    SSLCertificateChainFile /usr/local/etc/certbot/certs/live/walkershire.net/fullchain.pem

Options +FollowSymLinks

  DirectoryIndex index.php index.html

   ErrorDocument 404 /errors/missing.html

   ErrorLog /var/log/apache2/walkershire_error
   CustomLog /var/log/apache2/walkershire_access combined

        <Directory />
            Require all granted
# Options Indexes FollowSymLinks Includes ExecCGI Multiviews
            AllowOverride none
        </Directory>
</VirtualHost>

########################################
##### #####
##### beyond.cleanair.com #####
##### #####
########################################

<VirtualHost *:80>

    ServerName beyond.cleanair.com
## ServerAlias www.beyond.cleanair.com
    DocumentRoot "/usr/local/var/www/beyond"
    Redirect / https://beyond.cleanair.com/
</VirtualHost>

<VirtualHost *:443>
## ServerAdmin admin@beyond.com
    ServerName beyond.cleanair.com
## ServerAlias www.beyond.cleanair.com
    DocumentRoot "/usr/local/var/www/beyond"
    SSLEngine on
    SSLCertificateKeyFile /usr/local/etc/certbot/certs/live/walkershire.net/privkey.pem
    SSLCertificateFile /usr/local/etc/certbot/certs/live/walkershire.net/cert.pem
    SSLCertificateChainFile /usr/local/etc/certbot/certs/live/walkershire.net/fullchain.pem

Options +FollowSymLinks

  DirectoryIndex index.php

  ErrorDocument 404 /errors/missing.php

   ErrorLog /var/log/apache2/beyond_error
   CustomLog /var/log/apache2/beyond_access combined

        <Directory />
            Options Indexes FollowSymLinks Includes ExecCGI Multiviews
            AllowOverride none
            Require all granted

        </Directory>
</VirtualHost>

########################################
##### #####
##### EnviroTemps.COM #####
##### #####
########################################
<VirtualHost *:80>
## ServerAdmin admin@envirotemps.net
    ServerName envirotemps.com
    ServerAlias www.envirotemps.com
    DocumentRoot "/usr/local/var/www/envirotemps"
    Redirect / https://www.envirotemps.com/
</VirtualHost>

<VirtualHost *:443>
## ServerAdmin admin@envirotemps.net
    ServerName envirotemps.com
    ServerAlias www.envirotemps.com
    DocumentRoot "/usr/local/var/www/envirotemps"
    SSLEngine on
    SSLCertificateKeyFile /usr/local/etc/certbot/certs/live/walkershire.net/privkey.pem
    SSLCertificateFile /usr/local/etc/certbot/certs/live/walkershire.net/cert.pem
    SSLCertificateChainFile /usr/local/etc/certbot/certs/live/walkershire.net/fullchain.pem

  DirectoryIndex index.html

   ErrorDocument 404 /errors/missing.html

    ErrorDocument 404 /errors/missing.html

   ErrorLog /var/log/apache2/envirotemps_error
   CustomLog /var/log/apache2/envirotemps_access combined

        <Directory />
            Require all granted
# Options Indexes FollowSymLinks Includes ExecCGI Multiviews
            AllowOverride none
        </Directory>
</VirtualHost>

########################################
##### #####
##### Hi-Tech.RENT #####
##### #####
########################################

<VirtualHost *:80>
## ServerAdmin admin@hi-tech.rent
    ServerName hi-tech.rent
    ServerAlias www.hi-tech.rent
    DocumentRoot "/usr/local/var/www/hi-tech"
    Redirect / https://www.hi-tech.rent/
</VirtualHost>

<VirtualHost *:443>
## ServerAdmin admin@hi-tech.rent
    ServerName hi-tech.rent
    ServerAlias www.hi-tech.rent
    DocumentRoot "/usr/local/var/www/hi-tech"
    SSLEngine on
    SSLCertificateKeyFile /usr/local/etc/certbot/certs/live/walkershire.net/privkey.pem
    SSLCertificateFile /usr/local/etc/certbot/certs/live/walkershire.net/cert.pem
    SSLCertificateChainFile /usr/local/etc/certbot/certs/live/walkershire.net/fullchain.pem

    DirectoryIndex index.php

    ErrorDocument 404 /errors/missing.html
	ErrorDocument 301 /errors/missing.html

   ErrorLog /var/log/apache2/hi-tech_error
   CustomLog /var/log/apache2/hi-tech_access combined

        <Directory />
            Require all granted
# Options Indexes FollowSymLinks Includes ExecCGI Multiviews
            AllowOverride none
        </Directory>
</VirtualHost>
########################################
##### #####
##### D7036.com #####
##### #####
########################################

<VirtualHost *:80>
## ServerAdmin admin@D7036.net
    ServerName D7036.com
    ServerAlias www.D7036.com
    DocumentRoot "/usr/local/var/www/D7036"
    Redirect / https://www.D7036.com/
</VirtualHost>

<VirtualHost *:443>
## ServerAdmin admin@D7036.com
    ServerName D7036.com
    ServerAlias www.D7036.com
    DocumentRoot "/usr/local/var/www/D7036"
    SSLEngine on
    SSLCertificateKeyFile /usr/local/etc/certbot/certs/live/walkershire.net/privkey.pem
    SSLCertificateFile /usr/local/etc/certbot/certs/live/walkershire.net/cert.pem
    SSLCertificateChainFile /usr/local/etc/certbot/certs/live/walkershire.net/fullchain.pem

    DirectoryIndex index.php

    ErrorDocument 404 /errors/missing.php

   ErrorLog /var/log/apache2/D7036_error
   CustomLog /var/log/apache2/D7036_access combined

        <Directory />
            Require all granted
# Options Indexes FollowSymLinks Includes ExecCGI Multiviews
            AllowOverride none
        </Directory>
</VirtualHost>

########################################
##### #####
##### Hi-TechRent.com #####
##### #####
########################################

<VirtualHost *:80>
## ServerAdmin admin@Hi-TechRent.net
    ServerName Hi-TechRent.com
    ServerAlias www.Hi-TechRent.com
    DocumentRoot "/usr/local/var/www/Hi-TechRent"
    Redirect / https://www.Hi-TechRent.com/
</VirtualHost>

<VirtualHost *:443>
## ServerAdmin admin@Hi-TechRent.com
    ServerName Hi-TechRent.com
    ServerAlias www.Hi-TechRent.com
    DocumentRoot "/usr/local/var/www/Hi-TechRent"
    SSLEngine on
    SSLCertificateKeyFile /usr/local/etc/certbot/certs/live/walkershire.net/privkey.pem
    SSLCertificateFile /usr/local/etc/certbot/certs/live/walkershire.net/cert.pem
    SSLCertificateChainFile /usr/local/etc/certbot/certs/live/walkershire.net/fullchain.pem

  DirectoryIndex index.html, index.htm, index.php

    ErrorDocument 404 /errors/missing.php

   ErrorLog /var/log/apache2/Hi-TechRent_error
   CustomLog /var/log/apache2/Hi-TechRent_access combined

        <Directory />
            Require all granted
# Options Indexes FollowSymLinks Includes ExecCGI Multiviews
            AllowOverride none
        </Directory>
</VirtualHost>

########################################
##### #####
##### cleanair.net #####
##### #####
########################################

#<VirtualHost *:80>
# DocumentRoot "/usr/local/var/www/cleanairnet"
# ServerName cleanair.net
# ServerAlias www.cleanair.net

#<Location />
# Require ip 76.29.63.202 12.229.173.2
#</Location>

# DirectoryIndex index.html, index.htm, index.php

# ErrorDocument 404 /errors/missing.php

# ErrorLog /var/log/apache2/cleanairnet_error
# CustomLog /var/log/apache2/cleanairnet_access combined

# <Directory />
# Require all granted
# Options Indexes FollowSymLinks Includes ExecCGI Multiviews
# AllowOverride none
# </Directory>
#</VirtualHost>

########################################
##### #####
##### remiwalker.com #####
##### #####
########################################

<VirtualHost *:80>
# DocumentRoot /Library/WebServer/Documents/remiwalker
   DocumentRoot "/usr/local/var/www/remiwalker"
   ServerName www.remiwalker.com
   ServerAlias remiwalker.com

  DirectoryIndex index.html

#<Location />
# Require ip 76.29.63.202 12.229.173.2
#</Location>

  Options ExecCGI Indexes FollowSymLinks MultiViews

  DirectoryIndex index.html, index.htm, index.php

    ErrorDocument 404 /errors/404.html

   ErrorLog /var/log/apache2/remiwalker_error
   CustomLog /var/log/apache2/remiwalker_access combined

        <Directory />
            Require all granted
# Options Indexes FollowSymLinks Includes ExecCGI Multiviews
            AllowOverride none
        </Directory>
</VirtualHost>

########################################
##### #####
##### 127.0.0.1 #####
##### #####
########################################
# <VirtualHost *:80>

 # DocumentRoot "/Users/lowerlevel/Sites" NG !!!!!!!!
# ServerName 127.0.0.1

# ErrorLog /private/var/log/apache2/127.0.0.1_error_log
# CustomLog /private/var/log/apache2/127.0.0.1_access_log combined

# Options ExecCGI Indexes FollowSymLinks MultiViews

#</VirtualHost>

###########################
########################################
##### #####
##### 70.89.220.117 #####
##### #####
########################################
<VirtualHost *:80>
# DocumentRoot /Library/WebServer/Documents/
   DocumentRoot "/usr/local/var/www/
   ServerName 70.89.220.117

   ErrorLog /private/var/log/apache2/70.89.220.117_error_log
   CustomLog /private/var/log/apache2/70.89.220.117_access_log combined

## RewriteEngine On
## RewriteOptions Inherit
## Options ExecCGI Indexes FollowSymLinks MultiViews

</VirtualHost>

##############################################################################
##############################################################################

##############################################################################
##############################################################################

#<VirtualHost *:80>
# DocumentRoot /Library/WebServer/Documents/energy
# ServerName www.cleanair.energy
# ServerAlias cleanair.energy
#
# ErrorDocument 404 /errors/missing.php
#
#
# ErrorLog /var/log/apache2/energy_error
# CustomLog /var/log/apache2/energy_access combined
#
# <Directory />
# Require all granted
# Options Indexes FollowSymLinks Includes ExecCGI Multiviews
# AllowOverride none
# </Directory>
#</VirtualHost>
########################################
##### #####
##### LocalHost #####
##### #####
########################################

<VirtualHost *:80>
## DocumentRoot /Library/WebServer/Documents
   DocumentRoot "/usr/local/var/www/
   ServerName localhost

    ErrorLog /private/var/log/apache2/localhost_error_log
   CustomLog /private/var/log/apache2/localhost_access_log combined

   RewriteEngine On
# RewriteOptions Inherit
   Options ExecCGI Indexes FollowSymLinks MultiViews

        <Directory />
            Require all granted
            Options Indexes FollowSymLinks Includes ExecCGI Multiviews
            AllowOverride none
        </Directory>
</VirtualHost>

```

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 17, 2022, 11:48pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/8 "2022-07-17T23:48:54Z")

</div>

Please show:  
`ls -l /etc/letsencrypt/renewal/`

And you might need to create this directory:  
`/usr/local/var/www/Hi-TechRent`

See:

> [@CaptainBill](#):
>
> ```nohighlight
> AH00112: Warning: DocumentRoot [/usr/local/var/www/Hi-TechRent] does not exist
> AH00112: Warning: DocumentRoot [/usr/local/var/www/Hi-TechRent] does not exist
> 
> ```

---

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 17, 2022, 11:49pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/9 "2022-07-17T23:49:59Z")

</div>

I have 5 working certificates not 4 as stated on my 1st post for this thread.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 17, 2022, 11:52pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/11 "2022-07-17T23:52:14Z")

</div>

> [@CaptainBill](#):
>
> Type: unauthorized  
> Detail: 70.89.220.117: Invalid response from [https://www.hi-tech.rent/.well-known/acme-challenge/mKgGLGq\_d6fXfp8WTM4HoqgZ5Du27cy2ZSQnwhpP9AU:](https://www.hi-tech.rent/.well-known/acme-challenge/mKgGLGq_d6fXfp8WTM4HoqgZ5Du27cy2ZSQnwhpP9AU:) 404

That is likely due to:

> [@CaptainBill](#):
>
> ```nohighlight
> AH00112: Warning: DocumentRoot [/usr/local/var/www/Hi-TechRent] does not exist
> AH00112: Warning: DocumentRoot [/usr/local/var/www/Hi-TechRent] does not exist
> 
> ```

See that it is required:

```nohighlight
<VirtualHost *:80>
## ServerAdmin admin@Hi-TechRent.net
    ServerName Hi-TechRent.com
    ServerAlias www.Hi-TechRent.com
    DocumentRoot "/usr/local/var/www/Hi-TechRent"
    Redirect / https://www.Hi-TechRent.com/
</VirtualHost>

<VirtualHost *:443>
## ServerAdmin admin@Hi-TechRent.com
    ServerName Hi-TechRent.com
    ServerAlias www.Hi-TechRent.com
    DocumentRoot "/usr/local/var/www/Hi-TechRent"
...

```

---

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 17, 2022, 11:57pm UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/12 "2022-07-17T23:57:52Z")

</div>

> [@rg305](#):
>
> ls -l /etc/letsencrypt/renewal/

I did create /usr/local/var/www/Hi-TechRent.

I can not locate /etc/letsencrypt/renewal/

Looked in root etc and local/etc

---

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 18, 2022, 12:01am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/13 "2022-07-18T00:01:38Z")

</div>

If I try to create the www certificates again will I get the same problem with .well-known ?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 18, 2022, 1:11am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/15 "2022-07-18T01:11:44Z")

</div>

> [@CaptainBill](#):
>
> I did create /usr/local/var/www/Hi-TechRent

Show this again:  
`apachectl -t -D DUMP_VHOSTS`

And show:  
`ls -l /usr/local/etc/certbot/certs/renewal/`

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [July 18, 2022, 1:27am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/16 "2022-07-18T01:27:22Z")

</div>

> [@CaptainBill](#):
>
> Detail: 70.89.220.117: Invalid response from [https://www.hi-tech.rent/.well-known/acme-challenge/mKgGLGq\_d6fXfp8WTM4HoqgZ5Du27cy2ZSQnwhpP9AU:](https://www.hi-tech.rent/.well-known/acme-challenge/mKgGLGq_d6fXfp8WTM4HoqgZ5Du27cy2ZSQnwhpP9AU:) 404

Is there a different DocumentRoot for `hi-tech.rent` VirtualHost compared to `Hi-TechRent.com` VirtualHost ?

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 18, 2022, 1:34am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/20 "2022-07-18T01:34:11Z")

</div>

> [@MikeMcQ](#):
>
> Is there a different DocumentRoot for `hi-tech.rent` VirtualHost compared to `Hi-TechRent.com` VirtualHost ?

To answer your question, yes:

> [@CaptainBill](#):
>
> ` DocumentRoot "/usr/local/var/www/hi-tech"`  
> ` DocumentRoot "/usr/local/var/www/Hi-TechRent"`

See post #6  
[for complete details]

Also: Linux is case sensitive.  
[I'm presuming that `MacOS 12.4` is also]

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [July 18, 2022, 2:16am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/21 "2022-07-18T02:16:38Z")

</div>

> [@rg305](#):
>
> To answer your question, yes:
> 
> > [@CaptainBill](#):
> >
> > ` DocumentRoot "/usr/local/var/www/hi-tech"`  
> > ` DocumentRoot "/usr/local/var/www/Hi-TechRent"`

Sorry, missed post 6.

I just wasn't understanding how the "Invalid response from ... hi-tech.rent ... 404" related to the VirtualHost for `Hi-TechRent.com` and its DocumentRoot as shown in post #11

I think I had too many beers at dinner to follow this one. Cheers 🙂

---

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 18, 2022, 2:43am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/22 "2022-07-18T02:43:00Z")

</div>

`apachectl -t -D DUMP_VHOSTS`

```nohighlight
VirtualHost configuration:
*:80 is a NameVirtualHost
         default server walkershire.net (/usr/local/etc/httpd/extra/httpd-vhosts.conf:28)
         port 80 namevhost walkershire.net (/usr/local/etc/httpd/extra/httpd-vhosts.conf:28)
                 alias www.walkershire.net
         port 80 namevhost beyond.cleanair.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:69)
         port 80 namevhost envirotemps.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:110)
                 alias www.envirotemps.com
         port 80 namevhost hi-tech.rent (/usr/local/etc/httpd/extra/httpd-vhosts.conf:150)
                 alias www.hi-tech.rent
         port 80 namevhost D7036.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:190)
                 alias www.D7036.com
         port 80 namevhost Hi-TechRent.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:229)
                 alias www.Hi-TechRent.com
         port 80 namevhost www.remiwalker.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:298)
                 alias remiwalker.com
         port 80 namevhost 70.89.220.117 (/usr/local/etc/httpd/extra/httpd-vhosts.conf:353)
         port 80 namevhost localhost (/usr/local/etc/httpd/extra/httpd-vhosts.conf:399)
*:443 is a NameVirtualHost
         default server walkershire.net (/usr/local/etc/httpd/extra/httpd-vhosts.conf:36)
         port 443 namevhost walkershire.net (/usr/local/etc/httpd/extra/httpd-vhosts.conf:36)
                 alias www.walkershire.net
         port 443 namevhost beyond.cleanair.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:77)
         port 443 namevhost envirotemps.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:118)
                 alias www.envirotemps.com
         port 443 namevhost hi-tech.rent (/usr/local/etc/httpd/extra/httpd-vhosts.conf:158)
                 alias www.hi-tech.rent
         port 443 namevhost D7036.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:198)
                 alias www.D7036.com
         port 443 namevhost Hi-TechRent.com (/usr/local/etc/httpd/extra/httpd-vhosts.conf:237)
                 alias www.Hi-TechRent.com
         port 443 namevhost localhost (/usr/local/etc/httpd/extra/httpd-ssl.conf:121)

```

Q from MikeMcQ  
Is there a different DocumentRoot for `hi-tech.rent` VirtualHost compared to `Hi-TechRent.com` VirtualHost ?  
Almost none.  
I was using /Hi-TechRent.com for development but it is 98% same.

rg305 posted:  
Also: Linux is case sensitive.  
[I'm presuming that `MacOS 12.4` is also]

It is MacOs 12.4. I am sloppy with case because most of my code work does not require it.

I will try to create the certs again next.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 18, 2022, 2:45am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/23 "2022-07-18T02:45:48Z")

</div>

I don't see the missing folder warning anymore - this is good

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [July 18, 2022, 2:46am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/24 "2022-07-18T02:46:28Z")

</div>

Please show the output of:

> [@rg305](#):
>
> `ls -l /usr/local/etc/certbot/certs/renewal/`

---

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 18, 2022, 3:01am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/25 "2022-07-18T03:01:44Z")

</div>

> [@rg305](#):
>
> ls -l /usr/local/etc/certbot/certs/renewal/

The ls -ls is at the bottom of my recent attempt to create certs.

---

<div class="post-metadata">

**Author:** ![CaptainBill](https://avatars.discourse-cdn.com/v4/letter/c/22d042/32.png) [@CaptainBill](https://community.letsencrypt.org/u/CaptainBill)\
**Post date:** [July 18, 2022, 3:02am UTC](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334/26 "2022-07-18T03:02:19Z")

</div>

Waiting for verification...  
Challenge failed for domain [www.d7036.com](http://www.d7036.com)  
Challenge failed for domain www.hi-tech.rent  
Challenge failed for domain [www.walkershire.net](http://www.walkershire.net)  
Challenge failed for domain [www.envirotemps.com](http://www.envirotemps.com)  
http-01 challenge for [www.d7036.com](http://www.d7036.com)  
http-01 challenge for www.hi-tech.rent  
http-01 challenge for [www.walkershire.net](http://www.walkershire.net)  
http-01 challenge for [www.envirotemps.com](http://www.envirotemps.com)

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:  
Domain: [www.d7036.com](http://www.d7036.com)  
Type: unauthorized  
Detail: 70.89.220.117: Invalid response from [https://www.d7036.com/.well-known/acme-challenge/vvxpygO7x57sLWt6lzkZNKJSxO0\_EB6sT-uK8szaE5w:](https://www.d7036.com/.well-known/acme-challenge/vvxpygO7x57sLWt6lzkZNKJSxO0_EB6sT-uK8szaE5w:) 404

Domain: www.hi-tech.rent  
Type: unauthorized  
Detail: 70.89.220.117: Invalid response from [https://www.hi-tech.rent/.well-known/acme-challenge/duMCp0K9Htm88aNZ1HS4dMxdxuX0Bd6-KONs5O4OdbU:](https://www.hi-tech.rent/.well-known/acme-challenge/duMCp0K9Htm88aNZ1HS4dMxdxuX0Bd6-KONs5O4OdbU:) 404

Domain: [www.walkershire.net](http://www.walkershire.net)  
Type: unauthorized  
Detail: 70.89.220.117: Invalid response from [https://www.walkershire.net/.well-known/acme-challenge/mFl3BFmXMFOWlRqDqejWfr2mKfGg65l5vSKHJe4OhcM:](https://www.walkershire.net/.well-known/acme-challenge/mFl3BFmXMFOWlRqDqejWfr2mKfGg65l5vSKHJe4OhcM:) 404

Domain: [www.envirotemps.com](http://www.envirotemps.com)  
Type: unauthorized  
Detail: 70.89.220.117: Invalid response from [https://www.envirotemps.com/.well-known/acme-challenge/kKFlEx0azvr44kA9H8vTO4M4e1Wf3zOJXooHSR2Kb74:](https://www.envirotemps.com/.well-known/acme-challenge/kKFlEx0azvr44kA9H8vTO4M4e1Wf3zOJXooHSR2Kb74:) 404

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

Cleaning up challenges  
Some challenges have failed.  
Ask for help or search for solutions at [https://community.letsencrypt.org](https://community.letsencrypt.org). See the logfile /usr/local/etc/certbot/logs/letsencrypt.log or re-run Certbot with -v for more details.  
lowerlevel@lowerlevels-Mac-mini ~ %  
lowerlevel@lowerlevels-Mac-mini ~ % ls -l /usr/local/etc/certbot/certs/renewal/  
total 8  
-rw-r--r--@ 1 lowerlevel admin 709 Jul 10 15:22 walkershire.net.conf  
lowerlevel@lowerlevels-Mac-mini ~ %

[Next page](https://community.letsencrypt.org/t/challenges-failed-due-to-invalid-response-from-well-known/181334.md?page=2)
