Ok, so. This is what I did.
Fresh centos 7 minimal installation with the latest CWP (0.9.8.304)
First I added this.
# vhost_start host.hostname.com
<VirtualHost SERVER-IP:80>
ServerName host.hostname.com
ServerAlias
www.host.hostname.comServerAdmin xyz@mail.com
DocumentRoot "/usr/local/apache/htdocs/"
<IfModule mod_suexec.c>
SuexecUserGroup nobody nobody
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup nobody nobody
</IfModule>
<Directory "/usr/local/apache/htdocs">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end host.hostname.com
Restarted apache
Second I installed Letsencrypt and did this:
Domain : host.hostname.com
Path : /usr/local/apache/htdocs/
UserName : nobody
Email : youremail@xyz.com
IP : your Server IP
Port : 443
and this is the error I got now.
Failed authorization procedure. host.hostname.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from
http://host.hostname.com/.well-known/acme-challenge/4k1GJb96Spl1tAjzt-GxQjCxDsSEnWQfsq_pNlxJhxU: "