we run a reseller server using cyberpanel v2.3 (installed recently). This morning we found we had 10 sites that were failing on the www version of the domain. the non-www version has a certificate and loads fine.
The logs displayed show the command used to generate the certificates but it fails when attempting both www and non-www. it pushes on just with non-www which is successful.
EDIT: I have tested the following domain with letsdebug.net and it came back saying it was ok
My domain is:
lavenderlanephotography.com.au
I ran this command (replace domain.com.au with above):
/root/.acme.sh/acme.sh --issue -d domain.com.au -d www.domain.com.au --cert-file /etc/letsencrypt/live/domain.com.au/cert.pem --key-file /etc/letsencrypt/live/domain.com.au/privkey.pem --fullchain-file /etc/letsencrypt/live/domain.com.au/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
It produced this output:
Failed to obtain SSL for: domain.com.au and: www.domain.com.au
Trying to obtain SSL for: domain.com.au
Successfully obtained SSL for: domain.com.au
My web server is (include version):
The operating system my web server runs on is (include version):
ubuntu 20.04
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):
cyberpanel v2.3
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
2.3.0