Enabling SSL for Workflow

Security Socket Layer (SSL) is enabled for Workflow when we want to use SSL with Inbox or Reltio UI.

Reltio UI requires HTTPS for connections. Therefore, you must have the HTTPS protocol enabled on your local machine for debugging from Reltio UI.
  1. Run the following command to create the keystore. The following commands will help you to generate a SSL certificate:
    keytool -genkeypair -alias workflow -keyalg RSA -keysize 2048
     -storetype PKCS12 -keystore C:/Reltio/workflow/workflow.p12 -validity 3650
    
  2. Add the following SSL configurations to your app.properties file.
    
    server.port=8443
    server.ssl.key-store-type=PKCS12
    server.ssl.key-store=C:/Reltio/workflow/workflow.p12
    server.ssl.key-store-password=<secret for you keystore>
    server.ssl.key-password=<secret for you ssl key>
    
    Tip: Enter a new port number, server.port=8443, when you are not able to start the workflow. Your local machine may have a port conflict.
  3. Check if the HTTPS protocol is enabled.
  4. Click the following link:
    https://localhost:8433/workflow-adapter/workflow/status

    When we open the link we can see the following response from /status endpoint.

    
        {
        "memory": 
        {
            "JVM_heap_size": 4294967296,
            "Memory_used": 2694664496,
            "Max_memory": 4294967296
        },
        "status": "OK"
    }
    Note: The above warning message appears when you try to open a page with a self-signed certificate. Select Advanced and follow the procedure. The page will be reloaded automatically.