Hello,
Maybe a simple question but I haven't had any luck getting it working so far...
I have a subdomain on an Apache 2.4 server that I am limiting to an IP whitelist:
Code:
<Directory "/home/secure/www">
Options Indexes FollowSymLinks
AllowOverride All
# Allowed IPs
Require ip a.b.c.d
Require ip a.b.c.e
Require all denied
</Directory>
I want to allow Certbot \ Let's Encrypt to generate an SSL for this domain, so it needs to complete the ACME challenge.
Therefore I need to exempt a path from this IP limitation: /home/secure/www/.well-known/acme-challenge
I tried creating another directory declaration, but I am still getting a 403 response:
Code:
<Directory "/home/secure/www/.well-known/acme-challenge">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Anybody have any ideas how I can get this working?
Bookmarks