Hi, how are you? This is my first post on this forum.
On May 1, I decided to take the Linode service, I had never dared to manage a VPS before. So far I have learned several things, but the one that has cost me the most is installing an Let’s Encrypt ssl certificate …
I have seen several posts, and searched quite a bit in google without finding a solution. may be you can get me out of this hole.
I have Centos 7 installed with Nginx 1.16.1 and Webmin 1.942.
Requesting a certificate for cccloud.cl, www.cccloud.cl from Let’s Encrypt …
… request failed : Web-based validation failed : Failed to request certificate
When you goto virtualmin>virtualmin configuration>SSL certificate and attempt to install the letsencrypt one, can you copy and paste all of the text in the dialogue box error.
Web nased validation could be the ACME test is failing because of dns issues, or could be directory permissions problems, could be a misconfiguration in your webserver…
I dont use nginx, but it may be part of the problem.
To be honest, if you intend putting WordPress or Joomla websites on this server dont use nginx…you will regret the inconvenience of not being able to use htaccess. Sure php.ini works just fine, its just that most plugins/extensions automatically go looking for htaccess…nginx is a pain in the ass in this way. Without htaccess a lot of them dont function properly.
Since I’m learning with this from linode and virtualmin, I did the following:
Install virtualmin as LAMP, I mean went back to apache, and I still have the certificate problem,
Create a Virtual Server, and try to install letscripts:
I leave the result of the installation, to see if you can help me please
I did the recommended and installed certbot, getting the following result.
Requesting a certificate for cccloud.cl, www.cccloud.cl, mail.cccloud.cl from Let’s Encrypt …
… request failed: Web-based validation failed:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for cccloud.cl
http-01 challenge for mail.cccloud.cl
http-01 challenge for www.cccloud.cl
Using the webroot path / home / cccloud / public_html for all unmatched domains.
Waiting for verification …
Cleaning up challenges
Failed authorization procedure. cccloud.cl (http-01): urn: ietf: params: acme: error: unauthorized :: The client lacks sufficient authorization :: Invalid response from http://cccloud.cl/.well-known/acme-challenge/09F7SPu1C1FvnYzZK8K9OuV4VU3DXvFERDN0APyeb [2600: 3c02 :: f03c: 92ff: fecf: 589c]: "<! DOCTYPE HTML PUBLIC " - // IETF // DTD HTML 2.0 // EN \ "> \ n \ n 404 Not Found \ n \ n
Not Found
\ n <p ", mail.cccloud.cl (http-01): urn: ietf: params : acme: error: unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mail.cccloud.cl/.well-known/acme-challenge/pZvj-jlWBpTY3oTxgPEi24MsVXIcCPsE8T-L5OLFV5w [2600: 3c02 :: f03c: 92ff: fecf: 589c]: "<! DOCTYPE HTML PUBLIC " - // IETF // DTD HTML 2.0 // EN \ "> \ n \ n 404 Not Found \ n \ n
Not Found
\ n <p ", www.cccloud.cl (http-01): urn: ietf: params: acme: error: unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.cccloud.cl/.well-known/acme-challenge/8K7ScVfLecqIkqTrZ Lh6T96bBz_5LxLWqFvKQHzEZ7w [2600: 3c02 :: f03c: 92ff: fecf: 589c]: "<! DOCTYPE HTML PUBLIC " - // IETF // DTD HTML 2.0 // EN \ "> \ n \ n < title> 404 Not Found \ n \ n
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.
DNS-based validation failed:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for cccloud.cl
dns-01 challenge for mail.cccloud.cl
dns-01 challenge for www.cccloud.cl
Waiting for verification …
Cleaning up challenges
Failed authorization procedure. cccloud.cl (dns-01): urn: ietf: params: acme: error: unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “h3JccSQo3ZG4RiFOv2ppAkdL779WZNcUAhlOnlRwPBU” found at _acme-challenge.cccloud.cl, mail (dns-01): urn: ietf: params: acme: error: unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “RjbmzDPMsVP0PkPHZDSsxTlysdl-Y5cfXfJ7BlQbzm4” found at _acme-challenge.mail.cccloud.cl, www.cccloud.cl, .cc cl (dns-01): urn: ietf: params: acme: error: unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record “K-gL3HtDRjKwCH_thMx45qe-yr0A3d3ulG4M-JEzCVg” found at _acme-challenge.www.cccloud.cl
IMPORTANT NOTES:
The following errors were reported by the server:
Domain: cccloud.cl
Type: unauthorized
Detail: Incorrect TXT record
“h3JccSQo3ZG4RiFOv2ppAkdL779WZNcUAhlOnlRwPBU” found at
_acme-challenge.cccloud.cl
Domain: mail.cccloud.cl
Type: unauthorized
Detail: Incorrect TXT record
“RjbmzDPMsVP0PkPHZDSsxTlysdl-Y5cfXfJ7BlQbzm4” found at
_acme-challenge.mail.cccloud.cl
Domain: www.cccloud.cl
Type: unauthorized
Detail: Incorrect TXT record
“K-gL3HtDRjKwCH_thMx45qe-yr0A3d3ulG4M-JEzCVg” found at
_acme-challenge.www.cccloud.cl