I add test.txt file inside the .well-known/acme-challenge directory of my webroot. Then I tried to access via browser and it said, “You don’t have permission to access /.well-known/acme-challenge on this server.”
HTTP/1.1 403 Forbidden
Date: Thu, 24 May 2018 10:33:18 GMT
Server: Apache/2.4.33 (Unix) OpenSSL/1.0.2l
Content-Length: 220
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /.well-known
on this server.<br />
</p>
</body></html>
Do you have any advice?
Here is permission of .well-know directory.
root@newProdDocker:~/docker/httpd/conf# ls -la /var/www/letsencrypt/
total 20
drwxrwxr-x 4 root root 4096 May 24 09:33 .
drwxrwxr-x 5 root root 4096 May 23 07:24 ..
-rwxrwxrwx 1 root root 127 May 22 03:51 index.html
drwxrwxr-x 3 root root 4096 May 24 04:38 .well-known
Please show what’s inside it: ls -l /var/www/letsencrypt/.well-known/
and what is in side the challenge folder: ls -l /var/www/letsencrypt/.well-known/acme-challenge