Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there any secure websocket (wss protocol) client browser plugin available?

we would like to test our secure websocket (i.e wss) end point. I am looking for easy tool to test the endpoint. is there browser plugin available for wss protocol?

like image 754
Satheessh Chinnusamy Avatar asked Sep 23 '14 01:09

Satheessh Chinnusamy


People also ask

Is WSS protocol secure?

WSS is secure, so it prevents things like man-in-the-middle attacks. A secure transport prevents many attacks from the start. In conclusion, WebSockets aren't your standard socket implementation. WebSockets are versatile, the established connection is always open, and messages can be sent and received continuously.

Does WSS use SSL?

The WebSocket (WS) protocol runs on TCP (like HTTP), and the WSS connection runs on TLS/SSL, which, in turn, runs on TCP.

How do I connect my WSS WebSocket?

To open a websocket connection, we need to create new WebSocket using the special protocol ws in the url: let socket = new WebSocket("ws://javascript.info"); There's also encrypted wss:// protocol. It's like HTTPS for websockets.


3 Answers

I used "Simple WebSocket Client" chrome plugin to test wss endpoint. If your websocket is using self signed certificate, you to need add that certificate as a trusted certificated in your browser.

I followed below steps to add the self signed in my chrome browser.

suppose your websocket url is "wss://host1:port1/testSocket" . Then type urls as https:// host1:port1/testSocket and trust the certificate.

like image 67
Satheessh Chinnusamy Avatar answered Dec 09 '22 16:12

Satheessh Chinnusamy


AutobahnTestsuite is an automated WebSocket protocol test suite that supports WSS. It is used by most WebSocket implementors to test their implementations for compliance and interoperability.

Disclosure: I am original author of the testsuite.

like image 40
oberstet Avatar answered Dec 09 '22 14:12

oberstet


I've run into this issue often enough that I finally created my own barebones GUI for testing websockets. It's called Socket Wrench, it supports

  • multiple concurrent connections to servers (with all responses and connections displayed in the same view),
  • comprehensive message history to enable easy re-use of messages, and
  • custom headers for the initial connection request.

It's available for Mac OS X, Windows and Linux and you can get it from here.

like image 40
asleepysamurai Avatar answered Dec 09 '22 14:12

asleepysamurai