Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
It produced this output:
Requesting a certificate for raybuilders.com, www.raybuilders.com 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
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Renewing an existing certificate for raybuilders.com and www.raybuilders.com
Reusing existing private key from /etc/letsencrypt/live/raybuilders.com/privkey.pem.
Performing the following challenges:
http-01 challenge for raybuilders.com
http-01 challenge for www.raybuilders.com
Using the webroot path /home/raybuilders/public_html for all unmatched domains.
Waiting for verification...
Challenge failed for domain raybuilders.com
Challenge failed for domain www.raybuilders.com
http-01 challenge for raybuilders.com
http-01 challenge for www.raybuilders.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
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 web server is (include version):
SYSTEM INFORMATION
OS type and version
CentOS Linux 7.9.2009
Webmin version
2.101
Usermin version
2.001
Virtualmin version
7.8.2
Theme version
21.04
Package updates
All installed packages are up to date
I can login to a root shell on my machine (yes or no, or I don't know): Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Virtualmin
THE OLD CERTIFICATES STILL HAVE 15 DAYS LEFT
but the renwal seems to have strated autonatically and I'm getting many emails that this has failed and so I thought I'd try and get fresh certificates for just raybuilders.com and www.raybuilders.com
but keep getting this problem - have checked the AA records and they are all fine - I just can't figure it out
I'm having the same problem with another website as well
PLEASE HELP
Thanks
Pappaji
port 80 namevhost raybuilders.com (/etc/httpd/conf/httpd.conf:2790)
alias www.raybuilders.com
alias mail.raybuilders.com
alias webmail.raybuilders.com
alias admin.raybuilders.com
then I did the sudo command again it says
port 443 namevhost raybuilders.com (/etc/httpd/conf/httpd.conf:5149)
alias www.raybuilders.com
alias mail.raybuilders.com
alias webmail.raybuilders.com
alias admin.raybuilders.com
[root@vmi431722 ~]# sudo apachectl -t -D DUMP_VHOSTS
Passing arguments to httpd using apachectl is no longer supported.
You can only start/stop/restart httpd using this script.
If you want to pass extra arguments to httpd, edit the
/etc/sysconfig/httpd config file.
then it follows as:
port 80 namevhost raybuilders.com (/etc/httpd/conf/httpd.conf:2790)
alias www.raybuilders.com
alias mail.raybuilders.com
alias webmail.raybuilders.com
alias admin.raybuilders.com
and
port 443 namevhost raybuilders.com (/etc/httpd/conf/httpd.conf:5149)
alias www.raybuilders.com
alias mail.raybuilders.com
alias webmail.raybuilders.com
alias admin.raybuilders.com
Your server is wrongly redirecting the HTTP Challenge request from the Let's Encrypt server. You redirect the HTTP request to your home page using HTTPS.
You either need to stop redirecting these challenges (which is best) or redirect using the full URI of the HTTP request
curl -i http://raybuilders.com/.well-known/acme-challenge/Test123
HTTP/1.1 301 Moved Permanently
Server: Apache
Location: https://raybuilders.com
The Location should look like:
Location: https://raybuilders.com/.well-known/acme-challenge/Test123
If you need help with that please show the VirtualHost that starts at line 2790 in /etc/httpd/conf/httpd.conf
It is also possible your redirects are set by VirtualMin or maybe a .htaccess file or something similar.
I don't see any problem in those lines. In fact, there is no redirect of any kind. Which means either that VirtualHost is not processing the request or something was missing.
Was there anything after the <directory /home... line through the ending </VirtualHost>?
You should add 3 backticks before and after those contents so nothing is lost to formatting. Like
```
contents
```
I just noticed this line is in 2 places
there is a lot of other domains mentioned in this file but for this particular domain its mentioned in two places once as mentioned above then at the very end line 5148 onwards:
OK changed both instances and tried again here's what I got
Requesting a certificate for raybuilders.com, www.raybuilders.com 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
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Renewing an existing certificate for raybuilders.com and www.raybuilders.com
Reusing existing private key from /etc/letsencrypt/live/raybuilders.com/privkey.pem.
Performing the following challenges:
http-01 challenge for raybuilders.com
http-01 challenge for www.raybuilders.com
Using the webroot path /home/raybuilders/public_html for all unmatched domains.
Waiting for verification...
Challenge failed for domain raybuilders.com
Challenge failed for domain www.raybuilders.com
http-01 challenge for raybuilders.com
http-01 challenge for www.raybuilders.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
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.