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

To copy the code to the clipboard click on the icon ->

{"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

To copy the code to the clipboard click on the icon ->

{"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

Source:https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.storelocation?view=netframework-4.7.2

Valid values for "Store" are: AddressBook, AuthRoo, CertificateAuthority, Disallowed, My, Root, TrustedPeople, TrustedPublisher

Source:https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.storename?view=netframework-4.7.2

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.