Connect to a websocket server with SSL

For a project I need to connect to an API which is only accessible through websockets using certificates. I have tried an endless amount of options and code variants but I can't seem to get it right.  It also does not help that my Java knowledge only goes so far. I can connect and interface with the API using Node outside of Mendix but I want to be able to do requests in microflows and schedule them.   - Is there a way to add a keystore to the default websocket library Mendix uses (Core.addWebSocketEndpoint(path, endpoint);) - If not, can I use another library? Whenever I tried this it seemed that it was trying to use the default library automatically and completely ignoring the library I import and added in the userlib folder. (   Has anyone ever had success with connecting to a secured websocket endpoint and can provide an example or point me in the right direction?
0 answers