In virtualmin when I request a new Cert it dose not use /home/nilandtrading/public_html/.well-known/acme-challenge. ,but creates /home/nilandtrading/home/nilandtrading/public_html/.well-known/acme-challenge owned by root:root, so this is a duplicate /home directory with the wrong owner. My sub-server chat.nilandtrading.com did not do this and I got the cert. So the continuing error is;
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for nilandtrading.com
http-01 challenge for www.nilandtrading.com
Using the webroot path /home/nilandtrading/home/nilandtrading/public_html for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Unable to clean up challenge directory /home/nilandtrading/home/nilandtrading/public_html/.well-known/acme-challenge
Failed authorization procedure. nilandtrading.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://nilandtrading.com/.well-known/acme-challenge/GtNOihoJHlx0gy9YBanDI4FSqZFiWE_Ghnb-1AadP6g: "
404 Not Found
" IMPORTANT NOTES: - The following errors were reported by the server:
Domain: nilandtrading.com
Type: unauthorized
Detail: Invalid response from
http://nilandtrading.com/.well-known/acme-challenge/GtNOihoJHlx0gy9YBanDI4FSqZFiWE_Ghnb-1AadP6g:
"
404 Not Found
"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My server runs through No-IP DUC for the connection as TWC/Septrum even for a commercial account want’s my first born for a Static IP, but I can get to http//…/.well-known ok in a brawser. Checked all the Permissions?
the server is an HP X9400 with 8 cores and 32GB of RAM, Linux/apache2, Ubuntu-server 14.04.5
I do use a Ubutnu-Gnome GUI As I can do multiple things with it (don’t want to hear about server purity and command line only). My interface is Virtualmin/webmin latest version 6.00/1.852