---
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."
---

# <i class="fal fa-forward-step" aria-hidden="true"></i> 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.

## <i class="fal fa-network-wired" aria-hidden="true"></i> 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 |
|---|---|---|
| <i class="fal fa-lock" aria-hidden="true"></i> | [Option A: Enable TLS](#option-a) | ✅ Recommended. Your certificate is installed and DNS is configured |
| <i class="fal fa-unlock" aria-hidden="true"></i> | [Option B: Continue Without TLS](#option-b) | You run HTTP only, for example a test environment on an intranet |

<h2 id="option-a">Option A: Enable TLS (HTTPS)</h2>

### Critical Shared IIS Certificate Reuse Edge Case

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p>If this server hosts other IIS web sites and you reuse the same certificate for <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>, 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.</p></div>
</aside>

![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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.*  

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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.
* Install <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> on another machine.

If those bindings already have a host name and SNI, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> can co-exist with the other sites.

### Steps

1. In the [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></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.*  

   <aside aria-label="Important" class="nodinite-note nodinite-note--important">
   <p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
   <div class="nodinite-note__content"><p>A migrated environment runs <strong>Windows authentication</strong>. 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 <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn/">Service Principal Names (SPN)</a>. See <a href="https://docs.nodinite.com/install-and-update/troubleshooting/iis/ntlm-vs-kerberos-authentication/">NTLM vs Kerberos Authentication</a> and <a href="https://docs.nodinite.com/install-and-update/troubleshooting/iis/hardening/kerberos-transparent-login-after-v7-upgrade/">Restoring Kerberos Transparent Login After v7 Upgrade</a>.</p></div>
   </aside>

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.

<h2 id="option-b">Option B: Continue Without TLS (HTTP Only)</h2>

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][]

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* [<i class="fal fa-forward-step" aria-hidden="true"></i> Step 11: Install Pickup Service][Step11]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> 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]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/ServersTab.png

[Core Services]:https://docs.nodinite.com/core-services/overview/
[Development Certificates]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/hardening/development-certificates/
[Firewall]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/#network-and-firewall-overview
[How to perform hardening]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/how-to-perform-hardening-on-your-nodinite-installation/
[IIS Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[IIS TLS Empty Binding]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/Windows/IIS_TLS_BINDING_EMPTY.png
[IIS URL Rewrite]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-url-rewrite-legacy-v6-redirect/
[IIS Windows Features]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/
[InstallPackage]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/
[Kerberos After Upgrade]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/hardening/kerberos-transparent-login-after-v7-upgrade/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Main]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/
[MCP Endpoint]:https://docs.nodinite.com/core-services/mcp-endpoint/overview/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[NodinitePortal]:https://portal.nodinite.com/
[NTLM vs Kerberos]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/ntlm-vs-kerberos-authentication/
[OpenID]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-openid/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[SPN]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn/
[Step07]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/07-download-and-update-monitoring-agents/
[Step09]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/09-remove-old-windows-services/
[Step11]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/11-install-pickup-service/
[TLS Troubleshooting]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/hardening/tls-troubleshooting/
[Updating Nodinite v7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/updating-nodinite-v7/
[V7 Agents step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/05-agents/
[V7 Core host TLS]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-host-tls
[V7 Core platform services]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/