To activate support for the HTTPS protocol, you must provide an SSL certificate. It is also recommended to use the standard HTTPS port 443. After setting up the configuration, it is necessary to restart ibaDaVIS. You must prefix the URL for accessing the web interface in the browser with https:// instead of http://.
There are two options for configuring HTTPS for ibaDaVIS using the config.json file, which is located at the following path:
C:\ProgramData\iba\ibaDaVIS\config.json
config.json when using a file-based SSL certificate in PFX format
{"LogLevel": "info", "Kestrel":{ "Endpoints":{ "HttpsInlineCertFile":{ "Url":"https://*:443", "Certificate":{ "Path":"D:\\localhost.pfx", "Password":"1234" } } } }}
config.json when using an SSL certificate that has been imported into the Windows certificate
store
{"LogLevel": "info", "Kestrel": { "Endpoints": { "HttpsInlineCertStore": { "Url": "https://[ip-address/localhost]:443", "Certificate": { "Subject": "Certificate Subject (CN)", "Store": "My", "Location": "LocalMachine", "AllowInvalid": "false" } } } }}
Valid values for "Location" are: CurrentUser, LocalMachine
Valid values for "Store" are: AddressBook, AuthRoo, CertificateAuthority, Disallowed, My, Root, TrustedPeople, TrustedPublisher
The value under "Subject" must correspond to the name of the certificate.
The configuration file config.json contains an entry for the JSON port number.