I am having the same issue. I get the same error as lsccommunication.
I am running CentOS 7 and WHM/cPanel, so I am not using the Apache plugin. I installed LE from the instructions at:
I am trying to create a certificate by following a post on the cPanel forums with the following command:
./letsencrypt-auto certonly --webroot --webroot-path /home/cpaneluserid/public_html/ -d domain.com -d www.domain.com
Of course, cpaneluserid and domain.com are set to the correct values.
I have followed the foregoing posts in this thread with interest and tried everything mentioned, without achieving any success.
I am running from a remote client via ssh, logged in as root.
LE is creating the folder structure:
The users/groups and permissions:
drwxr-xr-x 3 root root 4096 Dec 5 11:12 /home/cpaneluserid/public_html/.well-known/
drwxr-x— 2 cpaneluserid nobody 4096 Dec 5 11:13 /home/cpaneluserid/public_html/.well-known/acme-challenge/
There is nothing in acme-challenge. It creates the folders, but there are no files created.
When I put a test html file in acme-challenge I can reach it from a browser over http.
I have tried lots of combinations of users, groups and permissions without success, despite what works for Th3Z0ne. Even 777 won’t work for me.
I am at your mercy and would be grateful for any help or ideas.