---
title: "Nodinite v6 Security: Enable HTTPS/TLS Post-Installation | Legacy Hardening Guide"
description: Enable HTTPS/TLS on existing Nodinite v6 installations. Legacy guide for manual IIS configuration, web.config editing, URL rewrite rules, and IP-based access restrictions. Upgrade to v7 recommended.
---

# Enable HTTPS/TLS on Nodinite v6 (Deprecated)

>[!WARNING]
>**:Nodinite: v6 is deprecated and no longer receives active development or support.** This guide is maintained for existing v6 installations only.
>
>**We strongly recommend [upgrading to :Nodinite: v7][Updating from v6 to v7]** for:
>
>✅ **Automated HTTPS configuration** - No manual web.config edits needed
>✅ **OAuth 2.0 / OIDC support** - Modern authentication methods
>✅ **Improved security** - Enhanced encryption and authentication
>✅ **Active support** - Bug fixes, updates, and new features
>✅ **Simplified management** - Portal-based configuration

This guide provides instructions for enabling HTTPS/TLS on existing :Nodinite: v6 installations that were initially configured with HTTP. If you're installing :Nodinite: for the first time, use [:Nodinite: v7][Install Nodinite v7] instead.

## :fa-map: Quick Navigation

* [Prerequisites](#fa-clipboard-list-prerequisites)
* [Option A: Simple HTTPS Setup](#fa-layer-group-option-a-simple-https-setup-shared-port)
* [Option B: Advanced Setup](#fa-layer-group-option-b-advanced-setup-separate-ports)
* [HTTP to HTTPS Redirect](#fa-arrow-right-arrow-left-redirect-traffic-from-http-to-https)
* [DNS Name with Redirection](#fa-globe-https-using-dns-name-with-redirection)
* [Development Certificates][]
* [IP Address Restrictions](#fa-shield-halved-restrict-access-by-ip-address-log-api-only)

>[!TIP]
>For modern HTTPS configuration guidance, certificate management, and architecture overview, see the main [How to perform hardening][] guide for :Nodinite: v7.

---

## :fa-clipboard-list: Prerequisites

Before enabling HTTPS on your :Nodinite: v6 installation, ensure you have:

* ✅ **Valid SSL/TLS certificate** installed in [IIS][]  
  * For production: Certificate from trusted CA (DigiCert, Let's Encrypt, internal PKI)  
  * For development: Self-signed certificate (see [Development Certificates][])  
* ✅ **Certificate thumbprint** - Copy from IIS Server Certificates  
* ✅ **DNS record** pointing to your :Nodinite: server (optional but recommended)  
* ✅ [URL Rewrite Module 2.1](https://www.iis.net/downloads/microsoft/url-rewrite)<sup>:fa-arrow-up-right-from-square:</sup> installed on IIS  
* ✅ **Administrative access** to IIS server  
* ✅ **Backup** of current configuration and databases  

>[!TIP]
>Need help obtaining a certificate? See the [How to perform hardening][] guide for certificate sources, installation instructions, and DNS configuration.

---

## :fa-list-ol: Enable HTTPS on Nodinite v6

The process involves configuring IIS bindings, adding HTTP-to-HTTPS redirection, and updating web.config files.

### :fa-layer-group: Option A: Simple HTTPS Setup (Shared Port)

**Use this approach when:**

* All :Nodinite: services ([Web Client][], [Web API][], [Log API][]) share port 443
* You have a single DNS name for all services
* You want the simplest configuration

#### :fa-forward-step: Step 1: Add HTTPS Binding in IIS

1. Open **IIS Manager**
2. Expand the server node → **Sites**
3. Right-click **Default Web Site** → **Edit Bindings**
4. Click **Add**
5. Configure:
   * **Type**: `https`
   * **Port**: `443`
   * **SSL certificate**: Select your installed certificate
6. Click **OK**

#### :fa-forward-step: Step 2: Configure HTTP-to-HTTPS Redirect

Follow the instructions in [Redirect Traffic from HTTP to HTTPS](#fa-arrow-right-arrow-left-redirect-traffic-from-http-to-https) below.

#### :fa-forward-step: Step 3: Test Configuration

1. Open browser: `https://your-server-name/WebClient`
2. Verify padlock icon appears in address bar
3. Confirm you can log in successfully

---

### :fa-layer-group: Option B: Advanced Setup (Separate Ports)

**Use this approach when:**

* Different services need different ports or bindings
* You have external DNS name with special routing requirements
* You need IP-based access restrictions for Log API

#### :fa-forward-step: Step 1: Configure Log API (Legacy v1-v6)

The Log API v1-v6 uses anonymous authentication. See [Restrict Access by IP Address](#fa-shield-halved-restrict-access-by-ip-address-log-api-only) for security configuration.

#### :fa-forward-step: Step 2: Configure Web API and Web Client

1. Follow **Option A** for HTTPS binding
2. Configure HTTP-to-HTTPS redirection (see below)

#### :fa-forward-step: Step 3: External DNS Configuration

If you have a DNS name hosted externally, see [HTTPS Using DNS Name with Redirection](#fa-globe-https-using-dns-name-with-redirection) for additional configuration.

---

## :fa-arrow-right-arrow-left: Redirect Traffic from HTTP to HTTPS

Automatically redirect HTTP requests to HTTPS using [IIS URL Rewrite][].

### Prerequisites

* [URL Rewrite Module 2.1](https://www.iis.net/downloads/microsoft/url-rewrite)<sup>:fa-arrow-up-right-from-square:</sup> installed on IIS

### :fa-file-code: Configuration

Edit the `web.config` file in the root of your IIS site (typically `C:\inetpub\wwwroot\web.config`):

```xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Redirect to HTTPS for Web API and Web Client" stopProcessing="true">
                    <match url="^((?!logapi).*)$" />
                    <conditions>
                        <add input="{HTTPS}" pattern="^OFF$" />
                        <add input="{HTTP_HOST}" pattern="nodinite.yourdomain.com" />
                    </conditions>
                    <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther" />
                </rule>
                <rule name="Redirect to Web Client" stopProcessing="true">
                    <match url="(webclient|logapi|webapi)/{0,1}" negate="true" />
                    <action type="Redirect" url="https://{HTTP_HOST}/WebClient/" redirectType="SeeOther" />
                    <conditions>
                        <add input="{HTTPS}" pattern="^OFF$" />
                    </conditions>
                </rule>
            </rules>
        </rewrite>
        <security>
            <requestFiltering>
                <hiddenSegments>
                </hiddenSegments>
            </requestFiltering>
        </security>
    </system.webServer>
</configuration>
```

>[!IMPORTANT]
>**Replace `nodinite.yourdomain.com` with your actual DNS name.** If your Web Client is in a virtual directory (e.g., `/nodinite-test/WebClient`), adjust the redirect paths accordingly.

### :fa-check: Verification

1. Browse to `http://your-server-name/WebClient`
2. Confirm automatic redirect to `https://your-server-name/WebClient`
3. Verify padlock icon in browser address bar

---

## :fa-globe: HTTPS Using DNS Name with Redirection

If you host your IIS server in the cloud (Azure, AWS) or need a custom DNS name with redirection, follow these steps.

### :fa-forward-step: Step 1: Prepare Folder Structure

Create a dedicated folder for your DNS domain:

```text
C:\Program Files\Nodinite\%ENVIRONMENT%\Nodinite Core Services\nodinite.yourdomain.com
```

Replace `%ENVIRONMENT%` with your environment name (e.g., `Production`, `Test`).

### :fa-forward-step: Step 2: Create New IIS Website

1. Open **IIS Manager**
2. Right-click **Sites** → **Add Website**
3. Configure:
   * **Site Name**: `nodinite.yourdomain.com`
   * **Application Pool**: Create new pool with same name
   * **Physical Path**: Point to folder from Step 1
   * **Binding Type**: `https`
   * **Port**: `443`
   * **Host Name**: `nodinite.yourdomain.com` (must match SSL certificate CN or SAN)
   * **SSL Certificate**: Select your certificate

![IIS Bindings][1]  
*Example of IIS site bindings configured for HTTPS with custom DNS hostname and SSL certificate selection.*  

### :fa-forward-step: Step 3: Configure Authentication

1. Select your new site in IIS Manager
2. Double-click **Authentication**
3. **Enable** only these methods:
   * **ASP.NET Impersonation**: Enabled
   * [Windows Authentication][]: Enabled
4. **Disable** all other authentication methods

![Authentication Settings][2]  
*Example of authentication configuration in IIS showing ASP.NET Impersonation and Windows Authentication enabled, with all other methods disabled.*  

### :fa-forward-step: Step 4: Add WebClient Application

1. Right-click your new site → **Add Application**
2. Configure:
   * **Alias**: `WebClient`
   * **Application Pool**: Same as Web Client application pool
   * **Physical Path**: `C:\Program Files\Nodinite\%ENVIRONMENT%\Nodinite Core Services\WebClient`
3. Click **OK**
4. Configure authentication (same as Step 3)

### :fa-forward-step: Step 5: Create Redirect Page

Create `index.html` in the folder from Step 1:

```html
<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="refresh" content="0; url=https://nodinite.yourdomain.com/webclient/">
        <script type="text/javascript">
            window.location.href = "https://nodinite.yourdomain.com/webclient/"
        </script>
        <title>Redirecting to Nodinite Web Client</title>
    </head>
    <body>
        <p>If you are not redirected automatically, follow this <a href='https://nodinite.yourdomain.com/webclient/'>link to the Nodinite Web Client</a>.</p>
    </body>
</html>
```

>[!IMPORTANT]
>Replace `nodinite.yourdomain.com` with your actual DNS name.

### :fa-forward-step: Step 6: Test Configuration

1. From a client browser (not the server), navigate to `https://nodinite.yourdomain.com`
2. Verify automatic redirect to Web Client
3. Confirm you can log in successfully

>[!TIP]
>Repeat these steps for each environment if you host multiple :Nodinite: instances on the same IIS server.

---

## :fa-flask: Development Certificates for Testing

For development and test environments, see the [Development Certificates][] guide for PowerShell scripts to generate and trust self-signed certificates.

>[!WARNING]
>Self-signed certificates are for development only. Do not use in production.

---

## :fa-shield-halved: Restrict Access by IP Address (Log API Only)

>[!WARNING]
>**Log API v1-v6 uses anonymous authentication**, which is a **security risk**. You can mitigate this with access control that restricts access to specific IP addresses.
>
>**:Nodinite: v7 introduces a new [Log API][] with proper authentication.** This eliminates the need for IP restrictions. Consider [upgrading to v7][Updating from v6 to v7] for better security.

### Affected Logging Agents

If you restrict Log API access by IP, ensure your logging agents can still connect:

* :Nodinite: [Azure Logic Apps Logging Agent][LogicAppsAgent]  
* :Nodinite: [IBM Integration Bus Logging Agent][]  
* :Nodinite: [Pickup Log Events Service Logging Agent][Pickup Service]  

### :fa-server: Option 1: IIS IP Address and Domain Restrictions

1. Open **IIS Manager**
2. Select your site or Log API application
3. Double-click **IP Address and Domain Restrictions**
4. Click **Add Allow Entry** or **Add Deny Entry** in the Actions pane
5. Configure allowed/denied IP addresses or ranges

#### Example: Allow only specific subnet

* **Deny** all by default
* **Allow** `192.168.1.0/24` (your internal network)

### :fa-fire: Option 2: Windows Firewall Rules

```powershell
# Allow only specific IP range to access Log API port
New-NetFirewallRule -DisplayName "Nodinite Log API - Allowed IPs" `
    -Direction Inbound -LocalPort 443 -Protocol TCP `
    -Action Allow -RemoteAddress 192.168.1.0/24
```

Replace `192.168.1.0/24` with your trusted IP range.

>[!IMPORTANT]
>[Firewall][] rules apply server-wide. If you use separate ports for different services, adjust the `-LocalPort` parameter accordingly.

---

## :fa-exclamation-triangle: Consider Upgrading to v7

>[!TIP]
>**:Nodinite: v6 is deprecated.** While this guide helps secure your v6 installation, we recommend upgrading to v7 for automated security configuration, modern authentication, and ongoing support. See [Why Upgrade to v7?][Updating from v6 to v7] for a detailed feature comparison.

## :fa-hand-point-right: Next Steps

* :fa-shield-halved: [How to perform hardening][] - Modern v7 HTTPS configuration guide  
* :fa-level-up: [Updating from v6 to v7][] - Complete upgrade guide  
* :fa-book: [Install Nodinite v7][] - Fresh v7 installation  

## :fa-link-horizontal: Related Topics

* :fa-certificate: [Development Certificates][]  
* :fa-users-class: [Roles][]  
* :fa-user: [Users][]  
* :fa-shield-halved: [Secret Management][]  

[1]:{ndm}/Documentation%20Pictures/IM/CoreServices/WebClient/NewSite_yourdomain.com.png
[2]:{ndm}/Documentation%20Pictures/IM/CoreServices/WebClient/DefaultWebSiteAuthenticationSettings_nodinite.yourdomain.com.png

[Development Certificates]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Hardening/Development%20Certificates.md
[Firewall]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Firewall.md
[How to perform hardening]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/How%20to%20perform%20hardening%20on%20your%20Nodinite%20installation.md
[IBM Integration Bus Logging Agent]:{ndr}/Logging%20and%20Monitoring/IBM%20Integration%20Bus/Overview.md
[IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[IIS URL Rewrite]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20URL%20Rewrite%20%E2%80%93%20Legacy%20v6%20Redirect.md
[Install Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[LogicAppsAgent]:{ndr}/Logging%20and%20Monitoring/Azure%20Logic%20Apps/Overview.md
[Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Overview.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Secret Management]:{ndr}/Install%20and%20Update/Troubleshooting/Secret%20Managment.md
[Updating from v6 to v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7.md
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md
[Windows Authentication]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Authentication%20settings.md