Skip to content
You are reading GoQuorum development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

Configure servers for Tessera API

Configure the servers for the Tessera API in the Tessera configuration file.

Specify the servers to be started as a list in serverConfigs.

"serverConfigs": [
   <server settings>
]

Server Addresses

The server configuration has two address entries:

  • serverAddress - Always specified.
  • bindingAddress - Optional endpoint to use for the binding. Specify to bind to an internal IP while advertising an external IP using serverAddress.

Each server is individually configured and can advertise over HTTP, HTTPS, or a Unix Socket.

HTTP server configuration

{
    "app": "<app type>",
    "enabled": <boolean>,
    "serverAddress":"http://[host]:[port]/[path]",
    "communicationType" : "REST"
}
{
   "app": "ThirdParty",
   "enabled": true,
   "serverAddress": "http://localhost:9081",
   "communicationType": "REST"
}

HTTPS server configuration

{
    "app": "<app type>",
    "enabled": <boolean>,
    "serverAddress":"https://[host]:[port]/[path]",
    "communicationType" : "REST",
    "sslConfig": {
        <SSL settings> 
    }
}
{
    "app": "P2P",
      "enabled": true,
      "serverAddress": "http://localhost:9001",
      "sslConfig": {
        "tls": "enum STRICT,OFF",
        "generateKeyStoreIfNotExisted": "boolean",
        "serverKeyStore": "Path",
        "serverTlsKeyPath": "Path",
        "serverTlsCertificatePath": "Path",
        "serverKeyStorePassword": "String",
        "serverTrustStore": "Path",
        "serverTrustCertificates": [
          "Path"
        ],
        "serverTrustStorePassword": "String",
        "serverTrustMode": "TOFU",
        "clientKeyStore": "Path",
        "clientTlsKeyPath": "Path",
        "clientTlsCertificatePath": "Path",
        "clientKeyStorePassword": "String",
        "clientTrustStore": "Path",
        "clientTrustCertificates": [
          "Path"
        ],
        "clientTrustStorePassword": "String",
        "clientTrustMode": "TOFU",
        "knownClientsFile": "Path",
        "knownServersFile": "Path"
      },
      "communicationType": "REST",
      "properties": {
         "partyInfoInterval": "Long",
         "enclaveKeySyncInterval": "Long",
         "syncInterval": "Long",
         "resendWaitTime": "Long"
      }
    }

Unix socket server configuration

{
    "app": "<app type",
    "enabled": <boolean,
    "serverAddress":"unix://[path]",
    "communicationType" : "REST"
}
{
    "app": "Q2T",
    "enabled": true,
    "serverAddress": "unix:/tmp/tm.ipc",
    "communicationType": "REST"
}
ConsenSys has acquired Quorum from J.P. Morgan. Please read the FAQ.
Questions or feedback? You can discuss issues and obtain free support on Tessera Slack channel.
For paid professional support by ConsenSys, contact us at quorum@consensys.net