Skip to main content
Version: iSign 9

Setup Configuration Files

server-setup.json​

Use server-setup.json to configure an iSign Server. The format is JSON or JSONC (JSON with comments). The file name and path vary by system and use case; see the installation guide.

Key parameters:

  • http.ServerUrl (string): URL for the iSign web services. Use a host name that resolves to the server. HTTP and HTTPS are supported.
  • http.WebPort (number): Port used by the web services. It must match http.ServerUrl.
  • http.RedirectFromPort80 (true | false): Optionally redirect requests from port 80 (HTTP) to the configured port, such as 443 (HTTPS).
  • http.SslMode ("Disabled" | "ACME" | "SelfSigned" | "ManualFilePath"): Specifies how to find the SSL certificate. See Certificates.
    • Disabled: Do not use SSL.
    • ACME: Obtain a certificate through Let's Encrypt. The server URL must be publicly accessible. See EMail and AcceptLetsEncryptTOS.
    • SelfSigned: Use a self-signed certificate. Recommended for testing only.
    • ManualThumbprint: Find the certificate in the certificate store using the thumbprint in CertificateFindValue (Windows only).
    • ManualFilePath: Use the certificate files $certdir/HOSTNAME/fullchain.pem and $certdir/HOSTNAME/privkey.pem. Set $certdir in iSign.Server.conf. Its default is /usr/share/designo/isign-server/instance/default/nginx/ssl (Linux only).
  • http.CertificateFindValue (string): Value used to find the certificate. See SslMode.
  • http.AcceptLetsEncryptTOS (true | false): Confirms acceptance of the Let's Encrypt Terms of Service. Required when using ACME.
  • http.EMail (string): Email address used to request a Let's Encrypt certificate. Required when using ACME.
  • user.CreateAdmin (true | false): Create the admin user each time configuration runs. Usually enabled only for initial configuration; can also restore access if credentials are lost.
  • user.AdminUserName (string): User name to create or update when user.CreateAdmin is enabled.
  • user.AdminPassword (string): Password to set for the admin user when user.CreateAdmin is enabled.

player-setup.json​

Use player-setup.json to configure an iSign Player. The format is JSON or JSONC. The file name and path vary by system and use case; see the installation guide.

Key parameters:

  • display-server.serverUrl (string): URL of the content service, usually https://HOSTNAME/ContentApi.
  • display-server.issuerUrl (string): URL of the identity service, usually https://HOSTNAME/ID.
  • display-server.enablePlayerApiAuthentication (true | false): Enable authentication with the server. This should always be true, unless the server runs iSign 7 or earlier.

If you use the MQTT extension for EPDs (MQTT Player), these parameters are also relevant:

  • mqtt.broker (string): URL for the MQTT broker, such as mqtts://HOSTNAME:8883/ (SSL) or mqtt://HOSTNAME:1883/ (without SSL).
  • mqtt.certificateFindType (string): How to find the certificate:
    • FindByThumbprint: Find the certificate in the certificate store by the thumbprint in certificateFindValue (Windows only).
    • FindBySubjectName: Find the certificate in the certificate store by the subject name in certificateFindValue (Windows only).
    • FindInPath: Find cert.pem, fullchain.pem, and privkey.pem under $acmedir/live/VALUE/. Set $acmedir in iSign.Player.conf; VALUE is the value in certificateFindValue. The default $acmedir is /usr/share/designo/isign-server/instance/default/acme. This structure lets the MQTT broker use a certificate obtained through the server's ACME function. The certificate files must be readable by group 8101 (ssl-cert) (Linux only).
  • mqtt.certificateFindValue (string): Identifies the certificate used by the MQTT broker. See certificateFindType.
  • mqtt.userName (string): User name used to access the MQTT broker.
  • mqtt.password (string): Password used to access the MQTT broker.

Example player.json:

// iSign Player configuration file
{
"display-server": {
// Enter the server URLs here
"serverUrl": "https://designo.isigncloud.de/ContentApi",
"issuerUrl": "https://designo.isigncloud.de/ID",
"enablePlayerApiAuthentication": true,
},
"mqtt": {
// Configure the MQTT broker here.
// For encrypted mode, use mqtts.
"certificateFindValue": "designo.isigncloud.de",
"broker": "mqtts://designo.isigncloud.de:8883/",

// Configure authentication
"userName": "iSign",
"password": "iStMMb4a",
},
}