Is it possible to use websockets in a secure way, by wss//... not ws//... ? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174) +---- Thread: Is it possible to use websockets in a secure way, by wss//... not ws//... ? (/showthread.php?tid=355414) |
Is it possible to use websockets in a secure way, by wss//... not ws//... ? - anatoly314 - 2020-06-24 Is it possible to use websockets in a secure way, by wss//... not ws//... ? I have developed a remote control web-based app, it uses WebSocket and when site hosted on HTTPS it complains about mixed content when I try to connect to WebSocket in an insecure way by using ws//... More detailed question posted on StackOverflow: https://stackoverflow.com/questions/62552412/using-insecure-websocket-connection-from-https-loaded-side-mixed-content-issue Thank you in advance. RE: Is it possible to use websockets in a secure way, by wss//... not ws//... ? - victmo - 2020-08-16 I'm also wondering the same thing. I'm surprised that a quick google search didn't returned anything related to this question. Has anyone had any luck with this? RE: Is it possible to use websockets in a secure way, by wss//... not ws//... ? - anatoly314 - 2020-08-16 (2020-08-16, 22:41)victmo Wrote: I'm also wondering the same thing. I'm surprised that a quick google search didn't returned anything related to this question. I'd say that it's rarely required and not quite possible to do due to certificate issues. You should be able to import your own certificate otherwise it's meaningless. RE: Is it possible to use websockets in a secure way, by wss//... not ws//... ? - victmo - 2020-08-17 (2020-08-16, 23:16)anatoly314 Wrote:I agree with it being rarely required but I'd like to know if given my own valid cert if it would be possible to use wss...(2020-08-16, 22:41)victmo Wrote: I'm also wondering the same thing. I'm surprised that a quick google search didn't returned anything related to this question. Currently, Kody doesn't even responds to my wss connection requests ¯\_(ツ)_/¯ RE: Is it possible to use websockets in a secure way, by wss//... not ws//... ? - PayneEdward - 2021-02-17 Anything is possible, the key that a lot of developers miss is to test the security of websockets, it's something that the majority fails to understand. All the vulnerabilities of a websocket must be treated with high priority and that's a fact, non-negociable. I've been working for the past year in a company that deals with websocketing and the fact that they don't test the possible vulnerabilities is driving me mad. I'm actually thinking about scheduling a meeting with a project manager to talk about this, cause I actually care about the quality of the web applications we develop. |