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.jsonwhen 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.jsonwhen 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
Valid values for “Store”: AddressBook, AuthRoo, CertificateAuthority, Disallowed, My, Root, TrustedPeople, TrustedPublisher
The configuration text file appsettings.json contains an entry for the JSON port number.