Skip to main content
Announcements
Meet the 2024 Qlik Luminaries and Partner Ambassadors! READ ON!
cancel
Showing results for 
Search instead for 
Did you mean: 
BenjaminGroff
Contributor III
Contributor III

Websocket Connection using Java and Certs

I'm working on updating a program we are using to allow a websocket connection to the Engine API using Java. (I am not proficient with Java but it is what our program uses). The current program is using bearer tokens but that is not an option for us so we need to use exported certificates.

The first image below is the current way our Java program is trying to create a websocket connection and the second image below is how I have used Javascript to make the connection in the past using certificates.

I need help finding a way to make a websocket connection using certs in Java similar to how I did in JavaScript. Any help would be greatly appreciated! Thanks!

 

Old Java connection: (Uses https://github.com/TakahikoKawasaki/nv-websocket-client)

BenjaminGroff_0-1676668777722.png

Javascript connection: (Uses https://www.npmjs.com/package/ws)

BenjaminGroff_1-1676669144574.png

Labels (1)
0 Replies