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 matchhttp.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. SeeEMailandAcceptLetsEncryptTOS.SelfSigned: Use a self-signed certificate. Recommended for testing only.ManualThumbprint: Find the certificate in the certificate store using the thumbprint inCertificateFindValue(Windows only).ManualFilePath: Use the certificate files$certdir/HOSTNAME/fullchain.pemand$certdir/HOSTNAME/privkey.pem. Set$certdiriniSign.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. SeeSslMode.http.AcceptLetsEncryptTOS(true|false): Confirms acceptance of the Let's Encrypt Terms of Service. Required when usingACME.http.EMail(string): Email address used to request a Let's Encrypt certificate. Required when usingACME.user.CreateAdmin(true|false): Create theadminuser 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 whenuser.CreateAdminis enabled.user.AdminPassword(string): Password to set for the admin user whenuser.CreateAdminis 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, usuallyhttps://HOSTNAME/ContentApi.display-server.issuerUrl(string): URL of the identity service, usuallyhttps://HOSTNAME/ID.display-server.enablePlayerApiAuthentication(true|false): Enable authentication with the server. This should always betrue, 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 asmqtts://HOSTNAME:8883/(SSL) ormqtt://HOSTNAME:1883/(without SSL).mqtt.certificateFindType(string): How to find the certificate:FindByThumbprint: Find the certificate in the certificate store by the thumbprint incertificateFindValue(Windows only).FindBySubjectName: Find the certificate in the certificate store by the subject name incertificateFindValue(Windows only).FindInPath: Findcert.pem,fullchain.pem, andprivkey.pemunder$acmedir/live/VALUE/. Set$acmediriniSign.Player.conf;VALUEis the value incertificateFindValue. The default$acmediris/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. SeecertificateFindType.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",
},
}