---
title: "Step 10: Configure TLS – v6 to v7 Migration"
description: "Step 10 of the Nodinite v6 to v7 migration: enable HTTPS by entering the host name and certificate subject in the Portal Core host Configuration and running the package again, or continue on HTTP."
---

# :fa-forward-step: Step 10: Configure TLS

In v6, a custom [IIS][IIS Overview] web site usually terminated TLS. In v7 you describe the certificate once, per environment, in the Portal, and the CLI binds it to every [Core Service][Core Services] web site at each install and update. Because v6 TLS settings are not carried forward, decide now whether to enable HTTPS (recommended) or continue on HTTP.

## :fa-network-wired: Understanding TLS in v7

<div class="mermaid">
flowchart LR
    CA["fa:fa-certificate Certificate"] -->|"Install"| STORE["fa:fa-key LocalMachine store"]
    PORTAL["fa:fa-cloud Portal Servers step"] -->|"Package"| CLI["fa:fa-terminal Nodinite.Installer.Cli.exe"]
    CLI -->|"Find by subject"| STORE
    CLI -->|"Bind HTTPS + SNI"| SITES["fa:fa-globe Core Service web sites"]
    USER["fa:fa-user Browser"] -->|"https://host:port"| SITES
    style CA fill:#9E59BB
    style STORE fill:#3F827B
    style PORTAL fill:#2678BD
    style CLI fill:#E47528
    style SITES fill:#93d16d
    style USER fill:#2678BD
</div>

*How the certificate reaches the [Core Services][]. You install the certificate (purple) in a LocalMachine store (teal) and enter its subject in the Portal [Core host Configuration][V7 Core host TLS] (blue). At every install and update, the CLI (orange) searches `LocalMachine\WebHosting` and `LocalMachine\My` for a valid matching certificate and binds it to each web site (green): [Web Client][], [Web API][], [Log API][], [Logging Service][], [Monitoring Service][], and [MCP Server][MCP Endpoint].*

Identify the certificate by **Certificate subject**. A renewal keeps the subject but changes the thumbprint, so after a renewal you only install the new certificate and run the update again. Set a thumbprint only when you must pin one exact certificate.

## Prerequisites

* [ ] [Step 9 completed – Legacy v6 IIS applications and Windows services removed][Step09], including the custom v6 TLS web site and its bindings
* [ ] Migration marked complete in the Portal ([Step 7][Step07])
* [ ] For HTTPS: a certificate with private key in `LocalMachine\My` or `LocalMachine\WebHosting`, and a DNS name that matches its subject or SAN

### Choose Your Path

| | Option | When to use |
|---|---|---|
| :fa-lock: | [Option A: Enable TLS](#option-a) | ✅ Recommended. Your certificate is installed and DNS is configured |
| :fa-unlock: | [Option B: Continue Without TLS](#option-b) | You run HTTP only, for example a test environment on an intranet |

## Option A: Enable TLS (HTTPS) {#option-a}

### Critical Shared IIS Certificate Reuse Edge Case

>[!WARNING]
>If this server hosts other IIS web sites and you reuse the same certificate for :Nodinite:, the installer can remove HTTPS bindings on those other sites when they lack a host name with SNI enabled. In this exact configuration the risk is effectively 100%, and dependent APIs or applications stop working.

![IIS HTTPS binding without host name and SNI][IIS TLS Empty Binding]  
*Example of an HTTPS binding on another site that must be corrected before you reuse the same certificate for :Nodinite:.*  

Before you continue, use one of these mitigations:

* On every non-Nodinite IIS site that uses the certificate, assign a host name and enable SNI on the HTTPS binding.
* Use a different certificate for :Nodinite:.
* Install :Nodinite: on another machine.

If those bindings already have a host name and SNI, :Nodinite: can co-exist with the other sites.

### Steps

1. In the [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>, open your environment and go to the **Servers** step.
2. In [Core host Configuration][V7 Core host TLS], enter:
   * **Hostname / SNI**: the DNS name users and agents use, for example `nodinite.contoso.com`
   * **Certificate subject**: for example `nodinite.contoso.com` or `*.contoso.com`
   * **Certificate thumbprint**: leave empty unless you must pin one certificate

   ![Servers step with the Core host Configuration section][1]  
   *Example of the Servers step where you enter the Hostname (SNI), the Certificate subject, and the optional Certificate thumbprint.*  

   >[!IMPORTANT]
   >A migrated environment runs **Windows authentication**. Add the host name to the browser's Local Intranet Zone, for example through Group Policy, or browsers fall back from Kerberos to NTLM with 4+ second page loads. When the IIS application pools run as a custom domain account, the host name also needs HTTP [Service Principal Names (SPN)][SPN]. See [NTLM vs Kerberos Authentication][NTLM vs Kerberos] and [Restoring Kerberos Transparent Login After v7 Upgrade][Kerberos After Upgrade].

3. *(Recommended)* In [Core platform services][V7 Core platform services], set the Web Client port to 443, and update your firewall rules ([Network and Firewall Overview][Firewall]). With 443, the HTTPS default, users reach the Web Client without a port in the URL. HTTPS also works on any other port, but users must then include it in the URL.
4. *(Optional)* In the [**Agents** step][V7 Agents step], add and configure the [Pickup Log Events Service][Pickup Service] now to save a round trip; details in [Step 11][Step11].
5. Save, go to **Review and Download**, and download the package.
6. Extract the package and run the CLI from an elevated PowerShell 7 prompt, as in [Step 7: Run the CLI Workflow][InstallPackage]. Use the server folder of your package:

   ```powershell
   .\Nodinite.Installer.Cli.exe validate --config .\nodinite01\config.cli.json
   .\Nodinite.Installer.Cli.exe deploy-environment --config .\nodinite01\config.cli.json --dry-run
   .\Nodinite.Installer.Cli.exe deploy-environment --config .\nodinite01\config.cli.json
   ```

   The deployment keeps the existing configuration and databases and updates the IIS bindings for the new TLS settings.

7. Open `https://nodinite.contoso.com:<Web Client port>`, check the padlock, and sign in.

After a certificate renewal, install the renewed certificate and run the update again with [Update Nodinite v7][Updating Nodinite v7]; with a subject configured, nothing changes in the Portal.

## Option B: Continue Without TLS (HTTP Only) {#option-b}

1. Confirm in the Portal that the migration is marked complete ([Step 7][Step07]) and the workspace is saved.
2. Leave **Core host Configuration** empty and continue with [Step 11][Step11].

You can enable HTTPS later with Option A at any time. [OAuth 2.0 / OpenID Connect][OpenID] requires HTTPS.

## Completion Checklist

* [ ] **Option A:** certificate subject configured, package deployed, Web Client reachable over HTTPS without certificate errors, sign-in works
* [ ] **Option B:** environment confirmed in the Portal, Web Client reachable over HTTP
* [ ] Pickup Service can now be configured in the Portal

## Troubleshooting

### "HTTP Error 500.21" After Install

The Web Client shows a handler error. Check the following:

* The .NET 10.0 Hosting Bundle is installed after the [IIS Windows Features][]
* Restart IIS: `iisreset /restart`
* Run the CLI deployment again

### Browser Shows "Not Private" Warning

The browser shows a certificate warning. Check the following:

* The host name you browse to matches the certificate subject or SAN
* For development, see [Development Certificates][]; for production, use a CA-issued certificate
* More causes and fixes: [TLS Troubleshooting][]

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

* [:fa-forward-step: Step 11: Install Pickup Service][Step11]  

## :fa-link-horizontal: Related Topics

* [Updating from v6 to v7 – Migration Guide][Main]  
* [Secure Your Nodinite Installation with HTTPS/TLS][How to perform hardening]  
* [Step 4: Servers – Core host Configuration][V7 Core host TLS]  
* [NTLM vs Kerberos Authentication][NTLM vs Kerberos]  
* [IIS URL Rewrite – Legacy v6 Redirect][IIS URL Rewrite]  

[1]:{ndm}/Documentation%20Pictures/IM/Portal/Env/Windows/ServersTab.png

[Core Services]:{ndr}/Core%20Services/Overview.md
[Development Certificates]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Hardening/Development%20Certificates.md
[Firewall]:{ndr}/Install%20and%20Update/Getting%20started/2.%20Prerequisites.md#network-and-firewall-overview
[How to perform hardening]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/How%20to%20perform%20hardening%20on%20your%20Nodinite%20installation.md
[IIS Overview]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[IIS TLS Empty Binding]:{ndm}/Documentation%20Pictures/IM/Portal/Env/Windows/IIS_TLS_BINDING_EMPTY.png
[IIS URL Rewrite]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20URL%20Rewrite%20%E2%80%93%20Legacy%20v6%20Redirect.md
[IIS Windows Features]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Windows%20Features.md
[InstallPackage]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/07%20-%20Install%20the%20Generated%20Package.md
[Kerberos After Upgrade]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Hardening/Kerberos%20Transparent%20Login%20After%20v7%20Upgrade.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[Main]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7.md
[MCP Endpoint]:{ndr}/Core%20Services/MCP%20Endpoint/Overview.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[NodinitePortal]:https://portal.nodinite.com/
[NTLM vs Kerberos]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/NTLM%20vs%20Kerberos%20Authentication.md
[OpenID]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20-%20OpenID.md
[Pickup Service]:{ndr}/Logging%20and%20Monitoring/Pickup%20LogEvents%20Service/Overview.md
[SPN]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SPN.md
[Step07]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/07%20-%20Download%20and%20Update%20Monitoring%20Agents.md
[Step09]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/09%20-%20Remove%20Old%20Windows%20Services.md
[Step11]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/11%20-%20Install%20Pickup%20Service.md
[TLS Troubleshooting]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Hardening/TLS%20Troubleshooting.md
[Updating Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Updating%20Nodinite%20v7.md
[V7 Agents step]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/05%20-%20Agents.md
[V7 Core host TLS]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-host-tls
[V7 Core platform services]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Core%20Services/Web%20Client/Overview.md