To set up licensing service configuration, use the settings.json file located in the folder with installed default licensing service:
/opt/foresight/licman in Linux OS.
C:\Licman in Windows OS.
To apply change in licensing service configuration in the settings.json file, restart the licman.service service in Linux OS:
sudo systemctl restart licman.service
The default contents of the settings.json file:
{
"server": "localhost",
"port": 8510
}
The settings.json field consists of main and additional fields.
To provide licensing service work with minimum required settings, set the main fields:
To extend licensing service functionality, set additional fields:
The example of the settings.json file:
{
"server": "localhost",
"logLevel": "log",
"secure":{
"port": 8511,
"key": "/opt/foresight/ssl/fp_licman_server_key.pem",
"cert": "/opt/foresight/ssl/fp_licman_server_cert.pem"
}
}
See also: