#
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.
- In the
Scheme
field, use https. - In the
Host
field, specify the hostname or domain name. - In the
Port
field, specify the port number. You can use the default port for HTTPS, 443. - In the
Store
field, specify the Certificate Store where your SSL certificate is stored. - In the
Location
field, specify the appropriate store location.
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 | }
- In the
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.
- In the
Scheme
field, use https. - In the
Host
field, specify the hostname or domain name. - In the
Port
field, specify the port number. You can use the default port for HTTPS, 443. - In the
Cert
field, specify the path to the SSL certificate. - In the
Location
field, specify the path to the SSL key.
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 | }
- In the
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.
- In the
Scheme
field, use https. - In the
Host
field, specify the hostname or domain name. - In the
Port
field, specify the port number. You can use the default port for HTTPS, 443. - In the
Cert
field, specify the path to the SSL certificate. - In the
Location
field, specify the path to the SSL key.
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 | }
- In the
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