#
Configuring HTTPS in Ingress
Open iT Ingress is configured to use secure browsing (HTTPS) by default, with an SSL Certificate and Key. If you need further configuration for the HTTPS setup, please review the relevant section for detailed instructions.
#
Configure HTTPS with Windows Certificate Store
Open iT Ingress can use secure browsing (HTTPS) using SSL certificates installed in the Windows Certificate Store.
Go to the Open iT Ingress configuration directory, which is
C:\Program Files\OpeniT\Ingress\configuration
by default.Create a copy of
SiteBindings.json
and rename the duplicate file toSiteBindings.Override.json
.Open the existing
SiteBindings.Override.json
, if there is already one.In the override file, input the necessary details.
Required Fields for SSL Configuration in the Override File
The Store field accepts only predefined certificate store values. These stores indicate where the SSL certificate is stored on the system. Refer to the table below for supported values and their usage:
Supported Certificate Stores for SSL Configuration
The Location field determines where the certificate store is located. Choose one of the supported values below depending on whether the certificate applies to the current user, all users, or specific services:
Supported Store Locations for SSL Configuration
SiteBindings.Override.json1 | { 2 | "SiteBindings": [ 3 | { 4 | "Scheme": "https", 5 | "Host": "customer.openit.com", 6 | "Port": "443", 7 | "Certificate": { 8 | "Store": "My", 9 | "Location": "LocalMachine" 10 | } 11 | } 12 | ] 13 | }
Save the file.
Open the Task Manager.
Go to the Services tab.
Restart the OpeniTIngress service.
#
Configure HTTPS with an SSL Certificate and Key
Open iT Ingress can use secure browsing (HTTPS) using an SSL certificate and key.
Go to the Open iT Ingress configuration directory, which is
C:\Program Files\OpeniT\Ingress\configuration
by default.Create a copy of
SiteBindings.json
and rename the duplicate file toSiteBindings.Override.json
.Open the existing
SiteBindings.Override.json
, if there is already one.In the override file, input the necessary details.
Required Fields for SSL Configuration in the Override File
SiteBindings.Override.json1 | { 2 | "SiteBindings": [ 3 | { 4 | "Scheme": "https", 5 | "Host": "customer.openit.com", 6 | "Port": "443", 7 | "Certificate": { 8 | "Cert": "C:\Program Files\OpeniT\Ingress\configuration\caddy\ssl.crt\server.crt", 9 | "Key": "C:\Program Files\OpeniT\Ingress\configuration\caddy\ssl.key\server.key" 10 | } 11 | } 12 | ] 13 | }
Save the file.
Open the Task Manager.
Go to the Services tab.
Restart the OpeniTIngress service.
Go to the Open iT Ingress configuration directory, which is
/opt/openit/ingress/configuration
by default.Create a copy of
SiteBindings.json
and rename the duplicate file toSiteBindings.Override.json
.Open the existing
SiteBindings.Override.json
, if there is already one.In the override file, input the necessary details.
Required Fields for SSL Configuration in the Override File
SiteBindings.Override.json1 | { 2 | "SiteBindings": [ 3 | { 4 | "Scheme": "https", 5 | "Host": "customer.openit.com", 6 | "Port": "443", 7 | "Certificate": { 8 | "Cert": "/opt/openit/ingress/configuration/caddy/ssl.crt/server.crt", 9 | "Key": "/opt/openit/ingress/configuration/caddy/ssl.key/server.key" 10 | } 11 | } 12 | ] 13 | }
Save the file.
Run the following command to restart Ingress:
Command Syntaxsystemctl restart openit-ingress-api
#
Configure HTTPS using Let's Encrypt
Open iT Ingress can use secure browsing (HTTPS) using Let's Encrypt.
Go to the Open iT Ingress configuration directory, which is
C:\Program Files\OpeniT\Ingress\configuration
by default.Create a copy of
SiteBindings.json
and rename the duplicate file toSiteBindings.Override.json
.Open the existing
SiteBindings.Override.json
, if there is already one.In the override file, make sure that the Cert and Key fields are empty.
This allows Caddy to automatically create a certificate.
SiteBindings.Override.json1 | { 2 | "SiteBindings": [ 3 | { 4 | "Scheme": "https", 5 | "Host": "customer.openit.com", 6 | "Port": "443", 7 | "Certificate": { 8 | "Cert": "", 9 | "Key": "" 10 | } 11 | } 12 | ] 13 | }
Save the file.
Open the Task Manager.
Go to the Services tab.
Restart the OpeniTIngress service.
Go to the Open iT Ingress configuration directory, which is
/opt/openit/ingress/configuration
by default.Create a copy of
SiteBindings.json
and rename the duplicate file toSiteBindings.Override.json
.Open the existing
SiteBindings.Override.json
, if there is already one.In the override file, make sure that the Cert and Key fields are empty.
This allows Caddy to automatically create a certificate.
SiteBindings.Override.json1 | { 2 | "SiteBindings": [ 3 | { 4 | "Scheme": "https", 5 | "Host": "customer.openit.com", 6 | "Port": "443", 7 | "Certificate": { 8 | "Cert": "", 9 | "Key": "" 10 | } 11 | } 12 | ] 13 | }
Save the file.
Run the following command to restart Ingress:
Command Syntaxsystemctl restart openit-ingress-api
#
Add Multiple Site Bindings
Go to the Open iT Ingress configuration directory, which is
C:\Program Files\OpeniT\Ingress\configuration
by default.Create a copy of
SiteBindings.json
and rename the duplicate file toSiteBindings.Override.json
.Open the existing
SiteBindings.Override.json
, if there is already one.In the override file, copy the entire site binding section.
For example, copy the contents from line 3 to 11.
SiteBindings.Override.json1 | { 2 | "SiteBindings": [ 3 | { 4 | "Scheme": "http", 5 | "Host": "", 6 | "Port": "8080", 7 | "Certificate": { 8 | "Store": "", 9 | "Location": "" 10 | } 11 | } 12 | ] 13 | }
Paste the copied contents at the end of the
SiteBindings
array.Add a comma
,
to separate each site bindings.SiteBindings.Override.json1 | { 2 | "SiteBindings": [ 3 | { 4 | "Scheme": "http", 5 | "Host": "", 6 | "Port": "8080", 7 | "Certificate": { 8 | "Store": "", 9 | "Location": "" 10 | } 11 | }, 12 | { 13 | "Scheme": "http", 14 | "Host": "", 15 | "Port": "8080", 16 | "Certificate": { 17 | "Store": "", 18 | "Location": "" 19 | } 20 | }, 21 | { 22 | "Scheme": "http", 23 | "Host": "", 24 | "Port": "8080", 25 | "Certificate": { 26 | "Store": "", 27 | "Location": "" 28 | } 29 | } 30 | ] 31 | } ...
Modify the values in the additional site binding(s) as needed.
You may also use the following sections for reference:
Configure HTTPS with Windows Certificate Store Configure HTTPS with an SSL Certificate and Key Configure HTTPS using Let's Encrypt
Save the file.
Open the Task Manager.
Go to the Services tab.
Restart the OpeniTIngress service.
Go to the Open iT Ingress configuration directory, which is
/opt/openit/ingress/configuration
by default.Create a copy of
SiteBindings.json
and rename the duplicate file toSiteBindings.Override.json
.Open the existing
SiteBindings.Override.json
, if there is already one.In the override file, copy the entire site binding section.
For example, copy the contents from line 3 to 11.
SiteBindings.Override.json1 | { 2 | "SiteBindings": [ 3 | { 4 | "Scheme": "http", 5 | "Host": "", 6 | "Port": "8080", 7 | "Certificate": { 8 | "Store": "", 9 | "Location": "" 10 | } 11 | } 12 | ] 13 | }
Paste the copied contents at the end of the
SiteBindings
array.Add a comma
,
to separate each site bindings.SiteBindings.Override.json1 | { 2 | "SiteBindings": [ 3 | { 4 | "Scheme": "http", 5 | "Host": "", 6 | "Port": "8080", 7 | "Certificate": { 8 | "Store": "", 9 | "Location": "" 10 | } 11 | }, 12 | { 13 | "Scheme": "http", 14 | "Host": "", 15 | "Port": "8080", 16 | "Certificate": { 17 | "Store": "", 18 | "Location": "" 19 | } 20 | }, 21 | { 22 | "Scheme": "http", 23 | "Host": "", 24 | "Port": "8080", 25 | "Certificate": { 26 | "Store": "", 27 | "Location": "" 28 | } 29 | } 30 | ] 31 | } ...
Modify the values in the additional site binding(s) as needed.
You may also use the following sections for reference:
Configure HTTPS with an SSL Certificate and Key Configure HTTPS using Let's Encrypt
Save the file.
Run the following command to restart Ingress:
Command Syntaxsystemctl restart openit-ingress-api
#
Add an Additional Reverse Proxy
This section guides you through the process of setting up an additional reverse proxy instance in your environment.
Go to the Open iT Ingress CaddyFilePartials directory, which is by default in
C:\Program Files\OpeniT\Ingress\configuration\ingress\CaddyFilePartials
.Open the custom.caddy file using your preferred text editor. Use this file to define additional reverse proxy configurations to append to the main CaddyFile automatically.
custom.caddy1 | # This is a sample partial file, this will be appended at the end of your caddyfile.caddy 2 |
Add your new reverse proxy configuration below the comment:
Example1 | # This is a sample partial file, this will be appended at the end of your caddyfile.caddy 2 | 3 | https://customer.another.openit.com { 4 | reverse_proxy :8888 5 | }
Save the changes.
Open the Task Manager.
Go to the Services tab.
Restart the OpeniTIngress service.
Verify that the configurations added in the custom.caddy file are appended to the CaddyFile.caddy file, which is by default in
C:\Program Files\OpeniT\Ingress\configuration\ingress\CaddyFile.caddy
.CaddyFile.caddy199 | # This is a sample partial file, this will be appended at the end of your caddyfile.caddy 200 | 201 | https://customer.another.openit.com { 202 | reverse_proxy :8888 203 | }
Go to the Open iT Ingress CaddyFilePartials directory, which is by default in
/opt/openit/ingress/configuration/ingress/CaddyFilePartials
.Open the custom.caddy file using your preferred text editor. Use this file to define additional reverse proxy configurations to append to the main CaddyFile automatically.
custom.caddy1 | # This is a sample partial file, this will be appended at the end of your caddyfile.caddy 2 |
Add your new reverse proxy configuration below the comment:
Example1 | # This is a sample partial file, this will be appended at the end of your caddyfile.caddy 2 | 3 | https://customer.another.openit.com { 4 | reverse_proxy :8888 5 | }
Save the changes.
Run the following command to restart Ingress:
Command Syntaxsystemctl restart openit-ingress-api
Verify that the configurations added in the custom.caddy file are appended to the CaddyFile.caddy file, which is by default in
/opt/openit/ingress/configuration/ingress/CaddyFile.caddy
CaddyFile.caddy199 | # This is a sample partial file, this will be appended at the end of your caddyfile.caddy 200 | 201 | https://customer.another.openit.com { 202 | reverse_proxy :8888 203 | }