---
title: "Missing HTTP SPN: Restoring Kerberos Transparent Login After v7 Upgrade"
description: Restore transparent Kerberos single sign-on after upgrading Nodinite from v6 to v7. Covers the root cause of unexpected login prompts, SPN registration, and the useAppPoolCredentials IIS configuration setting for domain service accounts.
---

# :fa-key: Missing HTTP SPN: Restoring Kerberos Transparent Login After v7 Upgrade

After upgrading from :Nodinite: v6 to v7, users may encounter an unexpected **browser login prompt** when accessing the :Nodinite: [Web Client][]. This typically happens in environments where the [IIS][IIS Overview] application pool runs under a domain service account (such as a CyberArk-managed account). Personal accounts cannot satisfy the prompt because MFA Conditional Access policies block them, leaving users stuck.

>[!IMPORTANT]
>**This is not optional work.** If the required `HTTP/<hostname>` [SPN][] is missing, the browser cannot obtain a Kerberos ticket and users will continue to be prompted for credentials. The AD team must create the SPN before the site can work transparently.

This guide explains why the upgrade changes Kerberos behaviour, and provides the three steps required to restore transparent single sign-on.

>[!IMPORTANT]
>This article is primarily a **v7 upgrade troubleshooting guide**.
>
>* **Applies to v7:** All remediation steps in this document.
>* **Applies to v6:** Architectural background only (to explain why behaviour changed).
>* **Applies to both versions:** Kerberos fundamentals such as DNS, SPN uniqueness, and browser zone trust.
>
>For :Nodinite: v7 on Windows, a **domain service account is required only when using Windows Integrated Security (Kerberos/NTLM)**. If the installation runs in workgroup mode and uses OAuth 2.x (for example Microsoft Entra ID), this Kerberos-specific requirement does not apply.

>[!NOTE]
>This guide covers **authentication failures** (login prompt appearing). If you experience slow page loads with no login prompt, see the [NTLM vs Kerberos Authentication][] performance guide instead.

---

## :fa-circle-info: Why v6 and v7 Behave Differently

Understanding the architectural change between v6 and v7 makes the fix much easier to reason about.

<div class="mermaid">
flowchart LR
    subgraph V6["v6 - virtual directory"]
        B6["fa:fa-user Browser"] -->|"HTTP/web01 ticket"| P6["fa:fa-folder Default Web Site<br/>ApplicationPoolIdentity"]
        P6 -->|"decrypts with"| M6["fa:fa-server Computer account<br/>HOST/web01 SPN, automatic"]
    end
    subgraph V7["v7 - own IIS web site per Core Service"]
        B7["fa:fa-user Browser"] -->|"HTTP/srv-nodinite ticket"| S7["fa:fa-globe Web Client site<br/>domain account or gMSA"]
        S7 -->|"useAppPoolCredentials = true"| A7["fa:fa-id-badge App pool account<br/>HTTP SPNs registered manually"]
    end
    style B6 fill:#2678BD
    style P6 fill:#3F827B
    style M6 fill:#93d16d
    style B7 fill:#2678BD
    style S7 fill:#E47528
    style A7 fill:#FFD525
</div>

*Diagram: in v6 the computer account's automatic HOST SPN covered the site (green). In v7 the [Web Client][] runs as its own site under a domain account or [gMSA][] (orange), so the HTTP SPNs and `useAppPoolCredentials` (yellow) must be configured, as described in [HTTP SPNs for IIS][IIS HTTP SPN].*

### Nodinite v6 (Legacy Context) — Virtual Directory Under Default Web Site

In v6, :Nodinite: ran as a **virtual directory** nested under the IIS Default Web Site. In this topology:

* The IIS application pool uses the **machine account** (`ApplicationPoolIdentity`)
* The machine account has a **Service Principal Name (SPN)** automatically registered in Active Directory when the server joins the domain
* The browser recognises the hostname, finds an existing SPN, and sends a Kerberos ticket automatically
* No login prompt appears — authentication is fully transparent

### Nodinite v7 (Kerberos Scenario) — Separate IIS Site

In v7, :Nodinite: runs as its own **separate IIS site**. When you use Windows Integrated Security, this topology change has significant Kerberos implications:

* The IIS application pool identity should be a **domain service account** or [gMSA][], set in the Portal ([Step 2: Auth → Service Account Defaults][Service account defaults], or per service in [Step 4: Servers → Core platform services][Core platform services])
* If the site uses a **different hostname** from the Default Web Site, the machine's default SPN no longer matches the URL
* IIS must be configured to decrypt Kerberos tickets by using the app pool account credentials (`useAppPoolCredentials=True`)
* Without these changes, Kerberos fails silently, the browser falls back to NTLM, and a **login prompt appears**
* If the domain service account is a CyberArk-managed account with no known password, and personal accounts are blocked by MFA Conditional Access, the login prompt cannot be satisfied

If your Windows deployment does **not** use Integrated Security (for example workgroup mode with OAuth 2.x and external IdP sign-in), the SPN and `useAppPoolCredentials` steps in this page are not applicable.

The table below summarises the key differences:

| Factor | Nodinite v6 (Virtual Directory) | Nodinite v7 (Separate Site) |
| --- | --- | --- |
| [IIS][IIS Overview] topology | Virtual directory under Default Web Site | Standalone IIS site |
| Default [SPN][] | Often machine account SPN — auto-registered | Must be manually registered to match the v7 hostname and account |
| App pool account | Often `ApplicationPoolIdentity` | **`DOMAIN\ServiceAccountName` when using Integrated Security** |
| `useAppPoolCredentials` required | Not normally | **Yes, when using Integrated Security** |
| Kerberos out-of-the-box | Often works with default topology | Requires explicit [configuration steps](#fa-list-ol-three-steps-to-restore-transparent-kerberos) below |

---

## :fa-list-ol: Three Steps to Restore Transparent Kerberos

### Step 1: Gather Your Environment Details

Before making any changes, collect the following information. You will need it in Steps 2 and 3.

#### Hostname

The hostname is the URL hostname you use in the browser to access :Nodinite: v7.

Example: if you browse to `https://srv-nodinite.contoso.com`, the hostname is:

```
srv-nodinite.contoso.com
```

>[!IMPORTANT]
>The hostname **must be a real DNS name**, not just an entry in the hosts file. Kerberos uses DNS to locate the SPN in Active Directory. A hosts-file-only name will not work.

#### Application Pool Identity

1. Open **IIS Manager**
2. Click **Application Pools**
3. Select the :Nodinite: application pool
4. In the **Actions** pane, click **Advanced Settings**
5. Note the value under **Identity**

Common values:

| Value | Description |
| --- | --- |
| `DOMAIN\ServiceAccountName` or `DOMAIN\gmsa-name$` | Use this when your v7 site uses Windows Integrated Security (Kerberos/NTLM). Register SPN in Step 2 and enable `useAppPoolCredentials` in Step 3. |

>[!WARNING]
>If your :Nodinite: v7 site uses Windows Integrated Security and currently runs as `ApplicationPoolIdentity` (or another machine/virtual account), change it to a dedicated domain service account before continuing. Change the identity in the Portal and run the update package ([Update Nodinite v7][Updating Nodinite v7]), so the next update keeps it.

---

### Step 2: Register the HTTP SPNs (Integrated Security Only)

A domain administrator must register `HTTP/` SPNs in Active Directory that map the :Nodinite: v7 hostname from Step 1 to the application pool account. Raise a ticket to your AD team if you don't have Domain Admin rights.

>[!IMPORTANT]
>**This is a blocking requirement.** Kerberos is hostname-specific. Register **both** the short name and the FQDN (for example `HTTP/srv-nodinite` and `HTTP/srv-nodinite.contoso.com`). If the browser requests the FQDN but only the short name is registered, users keep getting the login prompt.

Follow [Register HTTP SPNs][IIS HTTP SPN] in the IIS SPN guide for the commands, web farm and non-default port cases, and how to resolve duplicate SPN errors. After registering, clear the client's ticket cache with `klist purge` before you retest.

---

### Step 3: Configure IIS (Integrated Security Only)

Because the v7 application pool runs as a domain service account, IIS must decrypt the incoming Kerberos ticket with that account's credentials. In the `windowsAuthentication` section, set `useKernelMode` and `useAppPoolCredentials` to `True` on the v7 [Web Client][] site, for example `Nodinite-PROD-WebClient`, then run `iisreset`.

Follow [Configure IIS Windows Authentication][IIS HTTP SPN] in the IIS SPN guide for the `appcmd` command and the IIS Configuration Editor steps with a screenshot.

---

## :fa-browser: Browser Configuration — Local Intranet Zone

Even with correct SPN registration and `useAppPoolCredentials` configured, browsers will only send Kerberos tickets to sites listed in the **Local Intranet Zone**. This zone tells the browser to trust the site for automatic credential negotiation.

### Manual (Per-User, for Testing)

1. Open `inetcpl.cpl` (Internet Options)
2. Go to the **Security** tab
3. Select **Local Intranet** → click **Sites** → click **Advanced**
4. Add your :Nodinite: v7 URL or a wildcard pattern, for example:
   * `https://srv-nodinite.contoso.com` (specific host)
   * `*.contoso.com` (all hosts in the domain)
5. Click **OK**
6. Restart the browser

### Group Policy (Recommended for Enterprise Rollout)

Deploy the zone assignment via Group Policy to ensure all users receive the setting automatically:

1. Open **Group Policy Management Console**
2. Navigate to:
   `Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page`
3. Open **Site to Zone Assignment List** → **Enabled**
4. Add an entry:

| Name | Value |
| --- | --- |
| `https://srv-nodinite.contoso.com` | `1` (Local Intranet) |

5. Run `gpupdate /force` on affected machines

---

## :fa-circle-check: Verification

After completing all three steps, verify Kerberos is working:

1. Clear any old Kerberos tickets on the client workstation:

```powershell
klist purge
```

2. Open a new browser window and navigate to your :Nodinite: v7 URL
3. Confirm **no login prompt appears** — the page loads directly into the Web Client
4. On the client workstation, run `klist` and look for an HTTP service ticket:

```powershell
klist
```

A successful entry looks like:

```
Server: HTTP/srv-nodinite.contoso.com @ CONTOSO.COM
KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
```

If a ticket for `HTTP/srv-nodinite.contoso.com` is present, Kerberos is active and the login prompt will not reappear.

---

## :fa-table: Quick Reference

| Symptom | Most Likely Cause | Fix |
| --- | --- | --- |
| [Login prompt][Login Prompt] appears after upgrading to v7 | [SPN][] not registered for new hostname | [Step 2: Register HTTP SPN](#step-2-register-the-http-spns-integrated-security-only) |
| [Login prompt][Login Prompt] in v7 with domain service account | `useAppPoolCredentials` not set | [Step 3: Configure IIS](#step-3-configure-iis-integrated-security-only) |
| [Login prompt][Login Prompt] on browser, but `curl --negotiate` works | Browser not in Intranet Zone | [Browser Configuration](#fa-browser-browser-configuration-local-intranet-zone) section above |
| Both browser and `curl` require login | [SPN][] missing entirely | [Step 2](#step-2-register-the-http-spns-integrated-security-only), then [Step 3](#step-3-configure-iis-integrated-security-only) |
| `setspn -S` returns "duplicate SPN" | [SPN][] already registered to another account, or conflicts with the computer account | See HTTP SPN ownership conflicts in [HTTP SPNs for IIS][IIS HTTP SPN] |

---

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

* :fa-globe: [HTTP SPNs for IIS][IIS HTTP SPN] — HTTP SPN registration and IIS [Windows Authentication][IIS Authentication settings] settings  
* :fa-shield-halved: [NTLM vs Kerberos Authentication][] — Diagnose slow performance caused by NTLM fallback  
* :fa-right-to-bracket: [Login prompt asks for a password][Login Prompt] — Full login-prompt checklist for the Web Client  

## :fa-link-horizontal: Related Topics

* :fa-server: [IIS Troubleshooting Overview][IIS Overview]  
* :fa-level-up: [Updating from v6 to v7][]  
* :fa-key: [Service Principal Names (SPN)][SPN] — Hub for SQL Server and IIS SPNs  
* :fa-shield-halved: [How to perform hardening on your Nodinite installation][Hardening]  
* :fa-users: [Trusted for delegation][]  
* :fa-server: [IIS Authentication settings][]  
* :fa-window-maximize: [IIS Windows Features][]  
* :fa-user-lock: [gMSA accounts][gMSA]  
* :fa-lock: [TLS Troubleshooting][]  
* [Step 10: Configure TLS – v6 to v7 migration][V6V7 Step10]  

[Core platform services]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[gMSA]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/gMSA%20accounts.md
[Hardening]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/How%20to%20perform%20hardening%20on%20your%20Nodinite%20installation.md
[IIS Authentication settings]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Authentication%20settings.md
[IIS HTTP SPN]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/HTTP%20SPN%20for%20IIS.md
[IIS Overview]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[IIS Windows Features]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Windows%20Features.md
[Login Prompt]:{ndr}/Core%20Services/Web%20Client/Troubleshooting/Login%20Prompt%20You%20for%20a%20Password.md
[NTLM vs Kerberos Authentication]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/NTLM%20vs%20Kerberos%20Authentication.md
[Service account defaults]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/02%20-%20Auth.md#service-account-defaults
[SPN]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SPN.md
[TLS Troubleshooting]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Hardening/TLS%20Troubleshooting.md
[Trusted for delegation]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Trusted%20for%20delegation.md
[Updating from v6 to v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7.md
[Updating Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Updating%20Nodinite%20v7.md
[V6V7 Step10]:{ndr}/Install%20and%20Update/Getting%20started/Version%206/Updating%20from%20v6%20to%20v7/10%20-%20Configure%20TLS.md
[Web Client]:{ndr}/Core%20Services/Web%20Client/Overview.md