SSL 如何在两个连接的域上工作?
我已阅读相关问题,但找不到我要找的东西。 我已经设置了一个域“domain.com”,并创建了两个子域“client.domain.com”和“client-intern.domain.com”。此外,“client.domain.com/intern”有一个指向“client-intern.domain.com”的重定向活动。
如果我为“client.domain.com”购买单个 SSL 证书,当客户端访问“client.domain.com/intern”时,数据传输是否也会受到保护? 或者我是否必须为“client-intern.domain.com”购买第二个证书?
预先感谢您的澄清, Paul
更新:如果在 Web 浏览器地址栏中输入“client.domain.com/intern”,则该地址仍保留在那里,并且浏览器仍会显示“client-intern.domain.com”的内容。
I've read through related questions but couldn't quite find what I am looking for.
I have set up a domain just as "domain.com" and created two subdomains "client.domain.com" and "client-intern.domain.com". Further, there is a redirect active for "client.domain.com/intern" pointing to "client-intern.domain.com".
If I buy a single SSL certificate for "client.domain.com", will the data transfer also be secured when the client is going to "client.domain.com/intern"?
Or do I have to purchase a second certificate for "client-intern.domain.com"?
Thanks in advance for clarification,
Paul
UPDATE: If entering "client.domain.com/intern" into the web browsers address bar, this address remains there and the browser shows the content of "client-intern.domain.com" nonetheless.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要一个通配符证书来覆盖多个子域(在您的情况下为domain.com、client.domain.com 和client-intern.domain.com)。某些 CA 可能会为您提供一个选项,免费或支付少量额外费用,将一个或两个子域包含到证书中(作为备用名称字段),但这取决于 CA,一般来说,正确的方法是使用通配符证书。您可以在此处(GlobalSign 网站)了解有关通配符证书的信息。
You need a wildcard certificate to cover multiple subdomains (in your case domain.com, client.domain.com and client-intern.domain.com). Some CAs might offer you an option to include one or two subdomains into the certificate (as alternative name field) for free or for a small additional fee, but this is CA-dependent and in general the right way is a wildcard certificate. You can read about wildcard certs here (GlobalSign site).