K
K
khodos_dmitry2020-03-15 09:58:57
CentOS
khodos_dmitry, 2020-03-15 09:58:57

Why does the wildcard SSL certificate point to a different domain on the server?

I install the certificate according to this scheme:
https://habr.com/en/post/354052/
Everything seems to be going smoothly, at the end I get the following message:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-cloudflare, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/site.ru/fullchain.pem
   Your key file has been saved at:
   /etc/letsencrypt/live/site.ru/privkey.pem
   Your cert will expire on 2020-06-13. To obtain a new or tweaked
   version of this certificate in the future, simply run certbot
   again. To non-interactively renew *all* of your certificates, run
   "certbot renew"
 - If you like Certbot, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

But when I go to the site's subdomains:
Firefox does not trust this site, because it uses a certificate that is not valid for moskva.site.ru. The certificate is only valid for the following domains: site1.org, www.site1.org

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mureevms, 2020-03-15
@mureevms

If you issued a wildcard certificate for site1.org, then it is strange to expect it to work for site.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question