When calling the Network Device Enrollment Service (NDES) administration web page (certsrv/mscep_admin), you are repeatedly prompted to log on.

Assume the following scenario:

  • An NDES server is configured on the network.
  • The NDES server is accessed via a DNS alias.
  • Despite entering the correct credentials, you are repeatedly prompted to log on again when you access the NDES administration web page (certsrv/mscep_admin).

The Network Device Enrollment Service (NDES) provides a way for devices that do not have an identifier in Active Directory (for example, network devices such as routers, switches, printers, thin clients, or smartphones and tablets) to request certificates from a certification authority. For a more detailed description, see the article "Basics: Network Device Enrollment Service (NDES) ".

Internet Explorer: "Windows Security" logon dialog "Connecting to ndes01.intra.adcslabor.de." when opening /certsrv/mscep_admin/

Possible causes

Do you know TameMyCerts? TameMyCerts is an add-on for the Microsoft certification authority (Active Directory Certificate Services). It extends the function of the certification authority and enables the application of rule sets to realize the secure automation of certificate issuance. TameMyCerts is unique in the Microsoft ecosystem, has already proven itself in countless companies around the world and is available under a free license. It can be downloaded via GitHub and used free of charge. Professional maintenance is also offered.

The error occurs because authentication fails. Possible causes can be:

  • If a CNAME record is used as an alias for the NDES logon page address, authentication fails if the logon to the NDES administration web page uses Kerberos, i.e. if the accessed address does not match the Service Principal Name (SPN). The solution in this case is to use an A-record instead of a CNAME.
  • If the NDES server uses a domain account or a Group Managed Service Account (gMSA) , kernel mode authentication must be disabled in IIS, otherwise the service tickets cannot be decrypted.