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
java spring spring-integration spring-websocket ssl


source to share


No one has answered this question yet

Check out similar questions:

1873
What's the difference between @Component, @Repository and @Service annotations in Spring?
205
HTTPS client authentication in Java
26
WebSocket with Sockjs & Spring 4 but no Stomp
7
Where does "user" come from convertAndSendToUser running in SockJS + Spring Websocket?
3
How to combine Spring Security and js sockjs-client
2
Spring Websocket integration with Kafka
0
Stomp.js and Spring WebSocket Integration with Web MVC Project
0
Spring with STOMP over SockJS and Tomcat does not upgrade to Websockets
0
Websocket connection (spring) ssl (empty chain)
0
NodeJS + SockJS + STOMP connection with Java Spring



All Articles
Loading...
X
Show
Funny
Dev
Pics