To enable support for the HTTPS protocol, you must provide an SSL certificate. Using the default HTTPS port 443 is also recommended. After setting up the configuration, it is necessary to restart ibaCMC. You have to use the prefix https:// instead of http:// before the URL for access to the web interface in your browser.

There are two options for the HTTPs configuration for ibaCMC using the file appsettings.json, which is located at the following path:

C:\ProgramData\iba\ibaCMC\Server\appsettings.json

  • appsettings.json when using a file based SSL certificate in PFX format

    {  "LogLevel": "info",   "Kestrel":{       "Endpoints":{           "HttpsInlineCertFile":{               "Url":"https://localhost:443",               "Certificate":{                    "Path":"D:\\localhost.pfx",                    "Password":"1234"               }           }       }   }}

  • appsettings.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”: 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”: 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 configuration text file appsettings.json contains an entry for the JSON port number.