Spring Websocket and SSL Integration

I am writing a fairly simple Spring integration thread that processes some data and then sends a message to a website that exists on my SSL enabled web server to notify clients of new data.

The initial GET request to my websocket completed successfully and the application certificate is being sent to the server correctly. However, when the second request is sent to renew the websocket connection, it no longer sends the application certificate and I get a 403 forbidden server response.

Is there any special configuration in the WebSocketContainer or WebSocketClient that I need to tweak to make sure my certificate is always passed to the web server? I am using STOMP via SockJS for a client.

+3


source to share





All Articles