大网数据广告活动
服务器运维问答

SSL on both CNAME URL and destination

· 52CE 我爱测

We host several secure web applications for customers. The customer would set up a CNAME alias to map their subdomain to our subdomain eg. customer HTTPS URL app.customersite.com/App maps to our HTTPS URL customer.hostingserver.c…

问题原文

原帖链接 · cgvel · CC BY-SA 3.0

We host several secure web applications for customers.

The customer would set up a CNAME alias to map their subdomain to our subdomain

eg. customer HTTPS URL app.customersite.com/App maps to our HTTPS URL customer.hostingserver.com/App

The customer allows us to host their SSL key & certificate which has a common name of app.customersite.com.

However, historically, the customer also has access to the customer.hostingserver.com URL. But if they access this URL, the SSL certificate is not trusted as the domain name does not match.

They have asked us to redirect customer.hostingvendor.com back to app.customersite.com somehow so both URLs would accept the SSL certificate - but surely this would set up a circular link?

Is there any way of having both these URLs working - or do we just need to convince the customer not to try and access our URL directly?

Many Thanks

已采纳解答

原帖链接 · EEAA · CC BY-SA 3.0

In short: each URL will need to be served using a certificate appropriate for the name in use.

This could either be a multi-domain SAN cert used for both, or two separate certificates.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-04-03)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。