简体   繁体   English

从HTTPS重定向到第三方HTTP页面,而不会出现证书错误

[英]Redirect to a 3rd party HTTP page from HTTPS without the certificate error

We have a web application. 我们有一个网络应用程序。 Our homepage is in HTTPS. 我们的主页位于HTTPS中。 When a user clicks a link to go to the content provider's website (where HTTPS is not yet enabled), we get the following error image. 当用户单击链接进入内容提供商的网站(尚未启用HTTPS)时,我们将收到以下错误图像。 Any ideas to circumvent this? 有什么想法可以规避吗?

Our view is a JSP which posts to the 3rd party. 我们的观点是发布到第三方的JSP。

Link to the error png. 链接到错误png。

Thanks in advance, Karan Nanda 在此先感谢Karan Nanda

Even if you find a way to circumvent this it (hopefully) will be only a shortlived solution: you would undermine a security measure. 即使您找到一种方法来避免这种情况(希望)也只是一个短暂的解决方案:您会破坏安全措施。

Perhaps not implementing this in the foreground = browser but transferring this to the backend might help: have your JSP talk to some code on your server which transfers the data to the content providers site. 也许不在前台=浏览器中实现此功能,而是将其传输到后端可能会有所帮助:让JSP与服务器上的某些代码进行对话,该代码会将数据传输到内容提供商站点。 But this heavily depends on what or why you POST your data. 但这很大程度上取决于您发布数据的方式或原因。

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

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