Letsencrypt Validate Directory


#1

I would like to restrict access to my server except from certain IP’s.

When the letsencrypt servers retrieve a file from my server for verification is there a standard directory this comes from? I can then whitelist that directory to be accessed by any IP address.


#2

Hi @matthewh,

It will always be a random file path within /.well-known/acme-challenge under your web root.


#3

Exactly the info I needed and works fine.

Added this to httpd.conf:

Directory /var/www/html/.well-known/acme-challenge/
allow from all
/Directory


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.