Sitecore CM Login Not Redirecting to Identity Server? Troubleshooting Guide

Sitecore CM Login Not Redirecting to Identity Server? Troubleshooting Guide

⌛ 6 min read

Sitecore CM Login Not Redirecting to Identity Server? Troubleshooting Guide

If your Sitecore CM login is not redirecting to Identity Server, even though Identity Server itself opens correctly, the cause can be Sitecore configuration, authentication settings, SSL certificates, certificate trust, IIS bindings, or hostname configuration.

I ran into this issue while manually configuring Sitecore using WDP packages without SIF or SIA. The CM and Identity Server configuration looked correct, and Identity Server was accessible directly, but the Sitecore login page still did not redirect to Identity Server.

In my case, the problem was certificate-chain trust. The root CA certificate used by the Identity Server certificate was not trusted correctly in the Local Machine certificate store.

This guide gives you the fix first, followed by the troubleshooting checks and the details of what happened in my WDP installation.

Assumptions

Before starting, I am assuming that:

Sitecore CM is already installed and accessible. Sitecore Identity Server is already installed and configured. The Identity Server SSL certificate has already been created and is being used by Identity Server. The required Sitecore CM and Identity Server configuration is already in place. The Identity Server hostname is configured consistently across Sitecore, IIS, the certificate SAN/DNS name, and the Windows hosts file.

For the examples in this article, I am using:

  • Sitecore CM: https://sc104cm.dev.local
  • Sitecore Identity Server: https://sc104identityserver.dev.local/

Your URLs will be different, but use the same Identity Server hostname consistently throughout your local setup.


Quick Fix

If your Sitecore CM and Identity Server configurations are already correct, you can also try the fixes below.

1. Open the Local Machine certificate store

Press Win + R enter certlm.msc, and press Enter.

Go to Personal → Certificates and find the SSL certificate used by https://sc104identityserver.dev.local/.

2. Check the certificate chain

Open the Identity Server certificate and select Certification Path.

Select the root CA certificate at the top of the chain and click View Certificate.

Go to Details → Copy to File... and export it as a .cer file.

You only need the public certificate for this step.

Do not export the private key.

3. Trust the root certificate

Open the exported .cer file and select Install Certificate.

Choose:

  1. Local Machine
  2. Place all certificates in the following store
  3. Trusted Root Certification Authorities
  4. Complete the import.

The certificate should be installed under:

Local Computer → Trusted Root Certification Authorities

4. Verify the Identity Server IIS binding

Open IIS Manager, find the Identity Server website, and open Bindings....

Next, verify the HTTPS binding for the Identity Server site in IIS. Make sure the binding is using HTTPS on port 443, the hostname matches your Identity Server URL, and the correct SSL certificate is selected.

For example:

Type:        https
Port:        443
Hostname:    sc104identityserver.dev.local
Certificate: Identity Server SSL Certificate

The hostname and certificate should match the Identity Server configuration you are using.

5. Verify the hostname

Make sure sc104identityserver.dev.local is used consistently in:

  • Sitecore CM configuration
  • Identity Server configuration
  • IIS HTTPS binding
  • Certificate SAN/DNS name
  • Windows hosts file

6. Restart IIS

Run:

iisreset

Then open https://sc104cm.dev.local/sitecore and try the login again.

In my environment, this restored the expected CM → Identity Server redirect.

Note: Certificate trust was the cause in my environment. It is not the only possible cause of a Sitecore CM → Identity Server redirect problem.


Frequently Asked Questions

Why is Sitecore CM not redirecting to Identity Server?

The cause can be Sitecore configuration, disabled authentication, certificate trust, certificate SAN/DNS mismatch, IIS binding, hostname resolution, or certificate permissions. In my environment, the issue was an untrusted root CA certificate.

Why does Identity Server work directly but CM does not redirect?

Direct browser access does not guarantee that the CM-to-Identity Server authentication flow can establish a trusted HTTPS connection. Certificate trust, hostname, SAN/DNS, IIS binding, and Sitecore configuration can still affect the authentication flow.

Where should the Identity Server root certificate be installed?

For the local Windows setup described in this article, install the root CA certificate under Local Machine → Trusted Root Certification Authorities.

Do I need to export the Identity Server private key?

No. For the certificate-trust fix described here, export only the public root CA certificate as a .cer file.

What should I check if Sitecore CM still does not redirect?

Check the CM configuration, Identity Server configuration, authentication settings, certificate trust, SAN/DNS, IIS binding, hosts file, private-key permissions, and CM logs.


Conclusion

In this troubleshooting guide, we identified and fixed one specific issue: a certificate-chain trust problem between Sitecore CM and Identity Server. Installing the root CA certificate in the Local Machine → Trusted Root Certification Authorities store, along with verifying the IIS binding and hostname, resolved the redirect issue in our setup.

If you are troubleshooting Sitecore Identity Server or setting up a local Sitecore environment, these resources may also be useful:


Authored by Ravindra Mishra on August 10, 2026