There are advanced configuration options available in a separate file located at C:\ProgramData\Midpoint-Security\CredoID Service\config.additional.json
This is default configuration created by fresh installation:
{
"ConnectionString": "Data Source=.\\SQLEXPRESS;Database=CredoID;User Id=sa;Password=CredoIDPassword1",
"CoreSettings": {
"HostIpAddress": null
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://0.0.0.0:8090"
}
}
},
"WebApiSettings": {
"JwtIssuer": "https://midpoint-security.com",
"JwtExpireMinutes": 720,
"JwtRefreshExpireMinutes": 1440,
"UseHttpsRedirection": false,
},
"HidSettings": {
"HereIAmLatency": 10,
"NtpServers": [],
"ConnectionPort": 4070,
"DisableDst" : false,
},
"ScpSettings": {
"StrikeMode": 2,
"MaxFloors": 64,
"MaxFloorAccessLevels": 64,
"MercuryServerPort": 3001,
"AeroServerPort": 3002,
"ForcedOpenAlarm": {
"ColorOn": 1,
"ColorOff": 0,
"TicksOn": 2,
"TicksOff": 2,
"Repeat": 5,
"Beeps": 5,
"Delay": 2
},
"HeldOpenAlarm": {
"ColorOn": 1,
"ColorOff": 0,
"TicksOn": 2,
"TicksOff": 2,
"Repeat": 5,
"Beeps": 2,
"Delay": 5
}
},
"TriggerSettings": {
"MaxTriggerAgeMinutes": 1440
},
"MobileSettings": {
"Port": 58032,
},
"MusdoSettings": {
"DiagnosticsPort": 20005,
"EncryptedConfigurationPort": 20002,
"SyncDateTime": true
}
}
Do not change any of values that are not described in following section.
Parameter | Value | Description |
---|---|---|
"Url" |
"http://0.0.0.0:8090" | Allows to change default host port, interface |
"JwtExpireMinutes" |
720 |
Period in minutes after operator will be required to login again. |
"UseHttpsRedirection" |
boolean |
Redirect all HTTP requests to HTTPS. |
HidSettings | Settings for HID VertX controllers | |
HereIAmLatency |
10 |
Allows to set additional waiting time (in seconds) for HereIAm response. |
NtpServers |
[ ] | IP address(es) for NTP server. |
ConnectionPort |
4070 |
Change default HID VertX controller listening port. |
DisableDST |
boolean |
Disable DST on HID VertX controller. Controller will sync time with CredoID instead of Windows locale. |
ScpSettings | Settings for Mercury and HID Aero controllers | |
StrikeMode |
2 |
Enable maglock support for all doors. Strike relay will close after door is closed, not open. |
MaxFloors |
64 |
Number of elevator floors supported. Value between 0-128. |
MaxFloorAccessLevels |
64 |
Number of elevator access levels supported. Value between 0-256. |
MercuryServerPort |
3001 |
Change default Mercury controller listening port. |
AeroServerPort |
3002 |
Change default HID Aero controller listening port. |
ForcedOpenAlarm | Default OSDP reader template values for forced open alarm event. | |
HeldOpenAlarm | Default OSDP reader template values for held open alarm event. | |
ColorOn |
1 |
Color values: Off = 0, Red = 1, Green = 2, Amber = 3, Blue = 4. |
ColorOff |
0 |
If set to 0 only ColorOn value will be used. Set > 0 to have interchangeable blinking colors. |
TicksOn |
2 |
Number of ticks per 0.1 second for ColorOn . Set 0 for constant LED. |
TicksOff |
2 |
Number of ticks per 0.1 second for ColorOff . |
Repeat |
5 |
Repeat count per itteration. |
Beeps |
2 |
Count of beeps per interration. |
Delay |
5 |
Pause between itterations in seconds. |
TriggerSettings | Trigger related settings. | |
MaxTriggerAgeMinutes |
1440 |
Set time for event age. I.e. events that will come from devices older than set value will not trigger automation. |
MobileSettings | Mobile reader application related settings | |
Port |
58032 |
Change mobile reader application listening port. |
MusdoSettings | ASB Security Musdo panels related settings | |
DiagnosticsPort |
20005 |
Change Musdo panel diagnostic channel listening port. |
EncryptedConfigurationPort |
20002 |
Change Musdo panel encrypted configuration listening port. |
SyncDateTime |
boolean |
Synchronize Musdo panel internal time with CredoID server. Set false if you are using NTP in Musdo. |
Get an SSL/TLS certificate from a Certificate Authority (CA). If necessary, convert it to PEM format.
Add following lines to "Kestrel" configuration:
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://0.0.0.0"
},
"HttpsInlineCertAndKeyFile": {
"Url": "https://0.0.0.0",
"Certificate": {
"Path": "C:\\ProgramData\\Midpoint-Security\\CredoID Service\\cert.pem",
"KeyPath": "C:\\ProgramData\\Midpoint-Security\\CredoID Service\\serverkey.pem",
}
},
}
},