# \[Solved\] Invalid response 403 forbidden

**URL:** <https://community.letsencrypt.org/t/solved-invalid-response-403-forbidden/64170>\
**Category:** Help\
**Created:** [June 12, 2018, 8:28am UTC](https://community.letsencrypt.org/t/solved-invalid-response-403-forbidden/64170 "2018-06-12T08:28:55Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Processor](https://avatars.discourse-cdn.com/v4/letter/p/7bcc69/32.png) [@Processor](https://community.letsencrypt.org/u/Processor)\
**Post date:** [June 19, 2018, 1:23pm UTC](https://community.letsencrypt.org/t/solved-invalid-response-403-forbidden/64170/13 "2018-06-19T13:23:28Z")

</div>

Hi,

Finally found where the issue come from.

certbot auto create the following challenge config :

```
<Directory /var/lib/letsencrypt/http_challenges>
        Require all granted
    </Directory>
    <Location /.well-known/acme-challenge>
        Require all granted
    </Location>

```

And modify the virtual host config adding this :

```
Include /etc/apache2/le_http_01_challenge_post.conf 

```

the issue is that my DocumentRoot is not set in my vhost as :

```
 /var/lib/letsencrypt/http_challenges

```

As I’m on a reverse proxy I don’t mind to set it to anything as all requests are then redirected to the real server, so I just added this to my vhost conf and it worked like a charm:

```
    DocumentRoot /var/lib/letsencrypt/http_challenges
    <Directory /var/lib/letsencrypt/http_challenges>
            Allow from All
    </Directory>

```

May be something has changed in the last certbot-auto script as I never had to do this before.  
Hope It’s clear enough and will help someone else.

---

_[View the full topic](https://community.letsencrypt.org/t/solved-invalid-response-403-forbidden/64170)._
