Forum Discussion

MDPF52_180608's avatar
MDPF52_180608
Icon for Nimbostratus rankNimbostratus
Mar 25, 2015

WSS problem

Hello DevCentral community,

 

We are facing an issue with the secure wss ( websocket). I'll try to be more clearer :

 

site.example.com:443 = 1.1.1.1 ( virtual server : virtualtest1) SSL Offloading site.example.com:9090 = 1.1.1.1 ( virtual server: virtualtest2 )

 

We have a webpage reached through HTTPS, if you click a button your client will initiate a connection by the following code wsconnect('site.example.com', '9090') there is another virtual server with the same IP address listening on port 9090 TCP the must manage the websocket requests.

 

If we try to initiate the websocket connection the browser does not allow this ( Because is insecure to initialize websocket through HTTPS ) there is a workaround disabling a certain parameter in the browser configuration in order to see if it works. We have verified that websocket works but we want to try to configure it without any browser-side issues so, we need to implement secure web socket ( wss) how we can manage it through F5 ?

 

I hope i was clear enough.

 

Thanks in advance,

 

Best regards,

 

M.

 

1 Reply

  • By not implementing any changes on F5, just changing the webserver to use wss:// instead of ws:// - would that not work for you? The secure websocket apps we use don't have any special configuration applied, comparing to non-secure websocket apps.

     

    Also note the websockets are not natively supported before F5 v11.4, an iRule workaround is required for websockets management via F5 Virtual Server. What is your F5 version?