#
Configuring HTTPS with SSL Certificate
Follow these steps to use an SSL certificate for secure browsing (HTTPS) in a standalone CLIMS setup.
#
Enabling SSL in IIS
Open the Internet Information Services (IIS) Manager.
Under the Connections pane, expand the root node and Sites.
IIS: Home
Click Open iT CLIMS Server.
IIS: Open iT CLIMS Server
Under the Actions pane, in Edit Site, select Bindings....
IIS: Edit Site
In the Site Bindings dialog box, click Add.
IIS: Site Bindings
In the Add Site Binding dialog box:
- In Type, select https.
- In Host name, type in the preferred hostname.
- In SSL certificate, select the appropriate certificate.
- Specify other details as needed.
- Click OK.
IIS: Add Site Binding
Click Close.
IIS: Updated Site Bindings
Check the Microsoft documentation on How to Set Up SSL on IIS for more information.
#
Updating the Configuration Files
Go to the Auth folder, which is
C:\Program Files\OpeniT\Zero\Auth
by default.Create a copy of
appsettings.json
and rename the duplicate file toappsettings.Override.json
.Open the existing
appsettings.Override.json
, if there is already one.In the override file, change the
BaseUri
to the registered website URL (e.g.,https://climstest.openit.cloud
).appsettings.Override.json... 16 | "IdentityServer": { 17 | "Clients": [ 18 | { 19 | "Enabled": true, 20 | "ClientId": "f8ec16b2-cb4c-4568-905e-d4f6b4aac42c", 21 | "ClientName": "CLIMS", ... 46 | ], 47 | "BaseUri": "https://climstest.openit.cloud", ...
Save the file.
Go to the Configuration folder, which is
C:\Program Files\OpeniT\Zero\Configuration
by default.Create a copy of
Authentication.json
and rename the duplicate file toAuthentication.Override.json
.Open the existing
Authentication.Override.json
, if there is already one.In the override file, change the URL values of
Authority
,RedirectUrl
, andSilentRedirectUrl
to the registered website URL (e.g.,https://climstest.openit.cloud
).Make sure to add
/Auth
after the Authority URL and/signin-oidc
after the RedirectUrl and SilentRedirectUrl.Authentication.Override.json1 | { 2 | "AuthenticationMethod": "Oidc", 3 | "Oidc": { 4 | "Authority": "https://climstest.openit.cloud/Auth", 5 | "ClientId": "f8ec16b2-cb4c-4568-905e-d4f6b4aac42c", 6 | "ClientSecret": "NzhhOTg5MzYzOGRhNDQ5YWE0NTUxMTM3Zjk0NThmZDQ=", 7 | "RedirectUrl": "https://climstest.openit.cloud/signin-oidc", 8 | "SilentRedirectUrl": "https://climstest.openit.cloud/signin-oidc", ...
Save the file.