简体   繁体   English

通配符子域的SSL

[英]SSL for Wildcard Sub-Domains

I am trying to setup wildcard sub-domain. 我正在尝试设置通配符子域。 So my domain is www.mydomain.com so anything comes like this test.mydomain.com, welcome.mydomain.com will work, that is fine. 所以我的域名是www.mydomain.com,所以像test.mydomain.com,welcome.mydomain.com这样的东西都可以使用,那就很好。

When it comes to SSL, if I am buying SSL for www.mydomain.com then will that same SSL certificate works for test.mydomain.com, welcome.mydomain.com? 关于SSL,如果我为www.mydomain.com购买SSL,那么相同的SSL证书对test.mydomain.com,welcome.mydomain.com有用吗? Since they are not real sub-domains just virtual. 由于它们不是真正的子域,因此只是虚拟的。

If not do I need to buy wildcard SSL? 如果不是,我是否需要购买通配符SSL?

If I think technically all the wildcard sub-domains will point to same root folder and IP. 从技术上讲,如果我认为所有通配符子域都指向相同的根文件夹和IP。 From there using my code I will deliver different content. 从那里使用我的代码,我将交付不同的内容。 In that case my SSL certificate for www.mydomain.com will also work for test.mydomain.com right? 在那种情况下,我用于www.mydomain.com的SSL证书也可以用于test.mydomain.com,对吗? I am not sure. 我不确定。

Any Guess? 有猜到吗?

NAME in the SSL certificate must exactly match domain name of the site. SSL证书中的NAME必须与站点的域名完全匹配。 You need wildcard certificate. 您需要通配符证书。 Non-wildcard will produce a wrong-site warning. 非通配符将产生错误的站点警告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM