Skip to content

An IIS Site Serves the Wrong Certificate After Renewal

Admin
November 19, 2026
5 min read
Intermediate
πŸ’» Target OS: Windows Server 2025

Before you begin

  • Applies to:IIS on Windows Server 2025 when clients still see the wrong certificate after renewal.
  • Where to start:Start from an approved client. Then inspect the binding at the server, proxy, or load balancer that terminates TLS. For graphical checks, use Desktop Experience or an approved Windows management workstation. Use PowerShell 7 or later unless a module requires Windows PowerShell.
  • What you need:Record the expected hostname and certificate thumbprint. Confirm which system terminates the client TLS connection.
Guide tools
Guide tools
0/0 Steps (0%)

Troubleshooting Steps

01

Capture the certificate seen by the client

Start here

Open the site using its normal hostname. Inspect the presented certificate and record issuer, subject alternative names, expiration, and thumbprint. If multiple endpoints serve the hostname, compare affected and working paths.

02

Locate the TLS termination point

Where to click

  1. Open IIS Manager β†’ Sites β†’ the affected site β†’ Bindings.
  2. Select its https entry and choose Edit to inspect it.

What to look for Β· If a reverse proxy terminates TLS, check its listener and certificate first. If IIS terminates TLS, compare the hostname, port, address, and Server Name Indication (SNI) on all relevant sites.

03

Confirm the renewed certificate is usable

Where to click

  1. Open Certificates – Local Computer and check the expected certificate store.
  2. Compare its thumbprint with the approved renewal record.

What to look for Β· Check that the expected certificate is in the appropriate local computer store, has its private key, is valid for the hostname, and chains to trusted issuers. If Centralized Certificate Store is used, follow its supported certificate mapping and naming workflow.

04

Update the confirmed binding

Use the owner’s supported process to associate the new certificate with the correct listener. Preserve the previous binding for rollback. Avoid changing another site’s SNI or certificate merely because it shares the port.

05

Verify the certificate from the client

Verify

Open a fresh connection using the original hostname. Confirm the intended certificate and trusted chain, then test neighboring hostnames that share the address and port.

Decide What to Do Next

FindingNext action
Proxy presents the old certificateUpdate the proxy listener if it terminates client TLS.
Correct certificate exists but binding is oldUpdate the confirmed HTTPS binding.
Renewal exists without a usable private keyUse the approved renewal or import workflow.

References

Comments