URL从HTTPS重写为HTTPS(URL Rewrite from HTTPS to HTTPS)

编程入门 行业动态 更新时间:2024-10-26 02:36:51
URL从HTTPS重写为HTTPS(URL Rewrite from HTTPS to HTTPS)

我有一个URL *我需要将其重定向到* *绑定在IIS 8.0中,但没有SSL证书,我们不想出于成本原因购买。 在IIS 8.0中绑定并具有SSL证书。

它们位于同一服务器上的同一站点上。 如果有人来http://a.site.edu *,他们会看到相同的网站,就像他们来到http://a.nother.site.edu一样 。 这就是我们想要的。 如果他们来到https://a.nother.site.edu ,那将按预期工作。 但是,当他们来到https://a.site.edu时 ,他们会收到错误,因此我们想将它们重定向到https://a.nother.site.edu我们可以从https://a.site重定向。 edu *到https://a.nother.site.edu *没有收到错误消息? 我们在Windows 2012上使用安装了URL Rewrite 2.0的IIS 8.0。 我尝试了很多类型的配置,但我总是遇到这样的安全错误:

安全连接失败

页面加载时重置了与服务器的连接。

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem.

感谢所有回复。

I have a URL * I need to redirect it to * * is bound in IIS 8.0, but has no SSL certificate and we don't want to purchase one for cost reasons. is bound in IIS 8.0 and has an SSL certificate.

They are on the same site on the same server. If someone comes to http://a.site.edu* they see the same site as if they came to http://a.nother.site.edu. That's what we want. If they come to https://a.nother.site.edu, that works as expected. However, when they come to https://a.site.edu, they get an error so we want to redirect them to https://a.nother.site.edu Can we redirect from https://a.site.edu* to https://a.nother.site.edu* without getting an error message? We are on Windows 2012 using IIS 8.0 with URL Rewrite 2.0 installed. I have tried many types of configurations, but I always get a security error something like this:

Secure Connection Failed

The connection to the server was reset while the page was loading.

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem.

Thanks for all replies.

最满意答案

您无法重定向远离SSL验证错误,因为SSL验证是在重定向发生之前完成的。 没有解决方法。

You cannot redirect away from a SSL verification error because the SSL verification is done before the redirect happens. No workarounds.

更多推荐

IIS,site,edu,SSL,电脑培训,计算机培训,IT培训"/> <meta name="description&

本文发布于:2023-08-07 16:32:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465511.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:重写   URL   HTTPS   Rewrite

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!