如何将https重定向到没有任何SSL证书的http [英] How to redirect https to http without any SSL Certificate
问题描述
我有一个没有SSL证书的网站,我正在使用一个页面作为登陆页面一个Facebook应用程序。
我的问题是当某人在Facebook上安全连接时(https://)iframe src指向我登陆的相同https URL页。这会返回一个这样的错误。
SSL连接错误
无法与服务器。这可能是服务器的问题,或者可能需要您没有的客户端认证证书。
错误107(net :: ERR_SSL_PROTOCOL_ERROR):SSL协议错误。
我如何在不安装SSL证书的情况下将用户重定向到http或任何解决方法?
真的没办法做到这一点:在任何数据发送到服务器之前,HTTPS依赖SSL证书存在和SSL协商。因此,如果没有SSL证书,那么甚至不会达到您可以发送重定向的点(正如您所观察到的)。
我建议只购买最便宜的证书您可以:GoDaddy的特价$ 12.99,我已经非常有效地使用了这个目的(Facebook应用程序的SSL页面),你可以在15分钟内购买并准备好。
Is difficult to explain what I am seekig here.
I have a website that doesn't have SSL Certificates and I am using a page as a landing page for a Facebook Application.
My Problem is when someone is on a secure connection on facebook (https://) the iframe src is pointed to the same https URL of my landing page. this returns an error like this.
SSL connection error
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
How do I may users redirect to http or any workaround without installing SSL Certificates?
There is really no way to do that: HTTPS relies on the SSL certificate being present and the SSL negotiation ocurring BEFORE any data is sent to the server. Therefore if there is no SSL cert then it won't even get to the point where you can send a redirect (as you are observing).
I'd suggest just buying the cheapest cert you can: GoDaddy has specials for $12.99 that I've used quite effectively for just this purpose (Facebook app SSL pages) and that you can have bought and ready in 15 minutes.
这篇关于如何将https重定向到没有任何SSL证书的http的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!