SecureConnection example

Secure Connection example.

This example shows you how to enable a secure connection between the server and the clients. In a production environment, it is highly recommended to use secure WebSocket. Using a secure WebSocket connection improves confidentiality and reliability because the connection is encrypted with Transport Layer Security (TLS), which reduces the risk of a variety of attacks such as man-in-the-middle tampering with your data.

WARNING: The provided public certificate is a self-signed certificate. As a result, web browsers will block the connection (untrusted connection). Please replace the certificate and the private key by your certificate signed by a trusted certificate authority.

Note: In this example, the RemoteViz service uses the localhost IP address (127.0.0.1) by default. To run it on a web server, start the example by passing the service IP address and port as arguments (ex : SecureConnectionRenderingService 192.168.0.1 8082) and edit the file "index.html" (client side) to modify the IP address and the port.

FILES:


Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/