I tried to issue the wildcard cert for my domain, but I have the problem:
curl https://something.something
curl: (51) SSL: certificate subject name (*.something.something) does not match target host name ‘something.something’
My domain is:
I ran this command:
sudo docker run -it --rm --name certbot
-v “/etc/letsencrypt:/etc/letsencrypt”
-v “/var/lib/letsencrypt:/var/lib/letsencrypt”
certbot/certbot certonly --agree-tos --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory -d mydomain -d ‘*.mydomain’
It produced this output:
SSL: certificate subject name (*.costam) does not match target host name ‘costam’
My web server is (include version):
nginx version: nginx/1.10.3 (Ubuntu)
The operating system my web server runs on is (include version):
Ubuntu Server 16.04
My hosting provider, if applicable, is:
Aruba
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):
Only for DNS - Cloudflare
However, something is clearly wrong with the certificate that is installed, and it’s very unlikely to be able to help you unless we know what the domain is so we can look up the issued certificates.