通配符证书对mydomain.com无效 [英] Wildcard certificate not valid for mydomain.com
问题描述
我创建了通配符证书来支持我的站点域和子域.新证书适用于我的子域(例如www.mydomain.com,sub.mydomain.com)但是,当我尝试访问mydomain.com时,会收到证书警告:该证书仅对* .mydomain.com有效"
I created Wildcard certificate to support my site domain and subdomains. The new certificate works for my subdomains (e.g www.mydomain.com , sub.mydomain.com) But when I try to get to mydomain.com I get certificate warning: "the certificate is only valid for *.mydomain.com"
我的配置是否有问题,或者只是通配符证书不支持它?
Is it a problem with my configuration or just the Wildcard certificate doesn't support it?
推荐答案
为同时支持 example.com
和 subdomain.example.com
,证书需要同时包含 *.example.com
和 example.com
作为主题备用名称.我认为您的证书中缺少最后一个.
For supporting both example.com
and subdomain.example.com
the certificate needs to include both *.example.com
and example.com
as subject alternative names. I assume that the last one is missing from your certificate.
这篇关于通配符证书对mydomain.com无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!