Does CF10 support secure websocket wss?

北慕城南 提交于 2019-11-28 08:13:54

问题


Can someone using CF10 confirm if CF10 supports secure websocket wss://?

http://blog.kaazing.com/2012/02/28/html5-websocket-security-is-strong/


回答1:


I checked with Hemant. The answer is no, it is NOT supported now, but it is under progress to be added.




回答2:


On the basis of there being not a single mention of "secure websocket" or "wss" in the CF10 docs (according to Google), and in all the blogging Ray Camden has done on the topic there is not a single mention of it either, and indeed the only relevant match on all of Google for "cf10 wss" is back to this very question, I would say "no".

But that would be rather an odd implementation omission, I think.




回答3:


I just tried hacking this on the websocketChannel.js file where the URL is created (line 18)

var lURL="ws://"+(_7e0)+":"+_cf_websocket_port+"/cfusion"+"/cfusion";

tried to do this

var lURL= (location.protocol === "https:" ? "wss" : "ws") + "://"+(_7e0)+":"+_cf_websocket_port+"/cfusion"+"/cfusion";

But alas the wss:// connection would just never connect. BS I tell you .. pure BS!! The only issue really is with IE10 as it will not connect to an unsecured websocket channel initiated from a secure page.




回答4:


No it is not supported yet. However, it is being considered for ColdFusion Splendor.

https://twitter.com/rakshithn/status/352722362799624193



来源:https://stackoverflow.com/questions/10957468/does-cf10-support-secure-websocket-wss

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!