Configuring HTTPS for local server deployment of SysON

Enabling HTTPS with a self-signed certificate is intended for testing purposes only and shouldn’t be used in a production environment. Self-signed certificates don’t provide the same level of security and trust as certificates issued by a trusted Certificate Authority (CA). For production deployments, obtain a valid certificate from a trusted CA to ensure secure and reliable communication.

If you intend to install SysON on a local server or machine and allow several users to access it, you must enable HTTPS. If you don’t have a certificate, you can generate one by using keytool for testing purposes only.

  1. Create a self-signed certificate:

    keytool -genkeypair -alias myalias -keyalg RSA -keysize 2048 -validity 365 -keystore keystore.jks
  2. Place the certificate file next to your SysON-application JAR file

  3. Launch your JAR (as explained in the start the application section with the following extra properties:

      --server.ssl.key-store=./keystore.jks \
      --server.ssl.key-store-password=PASSWORD_USED_IN_STEP_1 \
      --server.ssl.key-store-type=JKS \
      --server.ssl.key-alias=myalias \
      --server.ssl.key-password=PASSWORD_USED_IN_STEP_1
  4. Every user in your local network can now access the application at: https://SysON_SERVER_IP:8080