Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows Server » The application /Certsrv does not exist: How to configure Certificate Enrollment Web Services and Certificate Authority Web Enrolment

The application /Certsrv does not exist: How to configure Certificate Enrollment Web Services and Certificate Authority Web Enrolment

Posted on 29/07/202121/01/2026 Christian By Christian 4 Comments on The application /Certsrv does not exist: How to configure Certificate Enrollment Web Services and Certificate Authority Web Enrolment
application configuration

In this article, we shall discuss “The application /Certsrv does not exist: How to configure Certificate Enrollment Web Services and Certificate Authority Web Enrolment”. Active Directory Certificate Services (AD DS) is used to create certification authority and related role services that allow you to issue and manage certificates. Here is Unable to run downloaded Programs due to Defender SmartScreen, and how to manage Microsoft Defender Antivirus with Argon ACMP.

Please, see the following interesting guides on how to import a certificate into the Trusted Root and Personal file certificate store, how to request a certificate signing request in Windows using Microsoft Management Console, and how to export a certificate in PFX format in Windows.

What is a Certification Authority?

A certificate authority is also referred to as a certification authority and it helps to issue digital certificates and authenticate the digital identities of computer systems.

By this we mean, it helps certify the ownership of a public key by the named subject of the certificate. One of the objectives is to make communication on the internet secure by playing a vital role in digital security.

Certificate authorities (CA) are a critical part of Internet communication and without them, transactions wouldn’t be secure and you would never be able to safely shop. Or perform online banking.

Here are some guides on how to install and configure Active Directory Certificate Services and how to create a certificate template for BitLocker Network Unlock.

1: Certificate Enrollment Web Services

The Certificate Enrollment Web Service uses the HTTPS protocol to accept certificate requests from and return issued certificates to network client computers.

The Certificate Enrollment Web Service uses the DCOM protocol to connect to the certification authority (CA) and complete certificate enrollment on behalf of the requester. It is to let clients enrol and renew certificates, from either non-domain joined machines, or machines that cannot contact your PKI environment.

2: Certificate Authority Web Enrollment

The Certification Authority (CA) Web Enrollment role service provides a set of web pages that allow interaction with the Certification Authority role service. These web pages are located at https://<servername>/certsrv, where <servername> is the name of the server that hosts the hosts the CA Web Enrollment pages.

The certsrv portion of the URL should always be in lowercase letters. Otherwise, users may have trouble checking and retrieving pending certificates.

CA Web Enrollment is useful when you interact with a standalone CA because the Certificates Microsoft Management Console (MMC) snap-in cannot be used to interact with a standalone CA.

Enterprise CAs can accept certificate requests through the Certificates snap-in or the CA Web Enrollment role service pages.

You can install CA Web Enrollment on a server that is not a CA to separate web traffic from the CA. Installing CA Web Enrollment configures the computer as an enrollment registration authority.

You must select a CA to be used with the CA Web Enrollment pages. 

Mitigating PetitPotam Attack with Web Enrollment

The following error isn’t a bug or an immediate issue in my lab environment. I installed the Certificate Enrollment Web Services and Certificate Authority Web Enrollment roles to demonstrate how the PetitPotam attack can be mitigated.

Certsrv

Upon completing my lab. I had to uninstall the roles because there wasn’t a real need for it and upon refresh the following error below was prompted.

Certificate Authority Web Enrollment
Certificate Enrollment Web Services

Fix the missing “CertSrv” virtual directory

To resolve this missing “CertSrv” virtual directory. I decided to create this guide to help those of you who might be having the missing virtual directory “CertSrv” issue and ways to resolve it.

First, quickly run the command below to see if the following Web Enrollment role is installed. As you can see, the role isn’t.

application configuration

I will be walking you through the steps to install the Certificate Enrollment Web Services and Certificate Authority Web Enrollment roles if you already have the AD CA setup.

To add the roles to the server, launch the Server Manager as shown below. Click on Add Roles and Features as shown below.

Certificate Enrollment Web Services

This is just an information page. Usually, you should skip the “before you begin” page. In this way, it does not come up with anything you wish to install a role or a feature. When you are done click on Next.

application configuration

This installation is role-based, therefore, we will be selecting role-based or feature-based installation. Click on Next to continue

Certificate Authority Web Enrollment

On the Select Destination server, if you have multiple servers. Please select your desired server or local server you wish to install the Certificate Enrollment Web Services and Certificate Authority Web Enrollment.

In my case, I have just one server in the pool and it is selected automatically by default. Click on Next to continue.

Certificate Enrollment Web Services

In the Select Server Roles, expand the Active Directory Certificate Services and take note of the marked roles.

Certificate Enrollment Web Services

Ensure both roles are checked “Certificate Enrollment Web Services and Certificate Authority Web Enrollment” as shown below.

Certificate Authority Web Enrollment

Select Features Page Feature Installation

On the Select Features page, we do not have to do anything except your environment demands a feature installation. Please click on Next to proceed.

application configuration

Lastly, on the confirmation page, click on Install to have the roles installed.

Screenshot-2021-07-28-at-20.33.09

As you can see below, the installation has started and you can view the progress from this window.

Screenshot-2021-07-28-at-20.33.42

Note: You can also click on the close button to have this window closed. While the installation is still in progress.

Screenshot-2021-07-28-at-20.39.54

Please, see AWS Flow Logs IAM Role Setup. Here is how to Upgrade ManageEngine Password Manager Pro, and All About Windows Server 2016.

Post Deployment Configuration to fix Application /Certsrv does not exist: Configure Certificate Enrolment Web services

Please click on the Server Manager. Click on the flag as shown below

Screenshot-2021-07-28-at-20.48.36

On this page, ensure the account you are using to install and configure the following roles meets the stated requirements.

  • Enterprise Admin Group (Enterprise certification authority, Certificate Enrollment Policy Web Service, Certificate Enrollment Web Service, and Network Device Enrollment Service).
  • Local Administrators group (Standalone certification authority, Certification Authority Web Enrollment, and Online Responder).
Screenshot-2021-07-28-at-20.49.53

I will be configuring both roles as shown below.

Screenshot-2021-07-28-at-20.53.50

Ensure the roles are selected and click on Next to continue.

Screenshot-2021-07-28-at-20.54.46

At the CA for CES window, the AD CS Configuration wizard should fill in the Target CA for you (The Target CA is selected by default). However, if it doesn’t click on the select button and choose your CA. (You must select a CA to be used with the CA Web Enrollment pages).

The CA that CA Web Enrollment uses is called the Target CA in the user interface. You can select the target CA by using the CA name. Or the computer name that is associated with the CAand click on Next.

Screenshot-2021-07-28-at-20.57.08

Select the Authentication Type of your choice. I will be selecting the first option “Windows Integrated Authentication”.

Screenshot-2021-07-28-at-20.57.40

On the Service Account for CES, please select “Use the Built-in application pool identity”. Click on Next to continue.

Screenshot-2021-07-28-at-20.58.11

Please, sse How to grant Access to User Mailbox. Here is how to uninstall AWS CLI in Windows, and How to configure WatchGuard WebCenter.

SSL certificate selection

On the Service Certificate page, please select “Choose an existing certificate for SSL encryption (This is the recommended setting though).

Screenshot-2021-07-28-at-20.59.45

On the Confirmation page, please select Configure in order to complete the setup.

Screenshot-2021-07-28-at-21.00.14

As you can see, the following role services are installed. As you can see, we have the Certificate Authority running. Click on Close to close the AD CS Configuration wizard.

Screenshot-2021-07-28-at-21.00.33

Next, we will be accessing the Internet Information Services (IIS) Manager to see if the virtual Directory has been restored. To do this, open Server Manager and Click on Internet Information Services (IIS) Manager.

Screenshot-2021-07-28-at-20.42.57
Screenshot-2021-07-28-at-21.02.13

As you can see the Virtual Directory has been restored. Here is a guide on how to mitigate the NTLM Relay PetitPotam attack on AD CS that affects Certificate Enrollment Web Services and Certificate Authority Web Enrollment when NTLM is enabled.

Screenshot-2021-07-28-at-21.02.44

I hope you found the steps discussed to resolve this issue “Application /Certsrv does not exist: Configure Certificate Enrolment Web Services” helpful. If you have any further questions or comments, please let me know in the comment section below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Active Directory Certificate Services, Cert, Certificate Authority, Certificates, Microsoft Windows, Windows 10, Windows Server 2016

Post navigation

Previous Post: PetitPotam attack on Active Directory Certificate Services: How to mitigate NTLM Relay PetitPotam attack on AD CS
Next Post: BitLocker Back Door: Stolen laptop to inside the company network

Related Posts

  • Windows Server 2016 1
    All About Windows Server 2016 Windows Server
  • banner
    How to install and configure FSRM in Microsoft Windows Server Windows Server
  • How to Install Windows Admin Center on Windows 10 11​
    Install Windows Admin Center on Windows 10 and Windows 11 Windows
  • MBAM Replacement
    MBAM extended support ends April 2026: Find alternative solution Security | Vulnerability Scans and Assessment
  • banner
    How to Edit Windows Hosts File via PowerToy Editor Utility Web Server
  • drivelock 1
    How to activate DriveLock License on Windows Server Windows Server

More Related Articles

Windows Server 2016 1 All About Windows Server 2016 Windows Server
banner How to install and configure FSRM in Microsoft Windows Server Windows Server
How to Install Windows Admin Center on Windows 10 11​ Install Windows Admin Center on Windows 10 and Windows 11 Windows
MBAM Replacement MBAM extended support ends April 2026: Find alternative solution Security | Vulnerability Scans and Assessment
banner How to Edit Windows Hosts File via PowerToy Editor Utility Web Server
drivelock 1 How to activate DriveLock License on Windows Server Windows Server

Comments (4) on “The application /Certsrv does not exist: How to configure Certificate Enrollment Web Services and Certificate Authority Web Enrolment”

  1. Avatar photo Blake Gilmartin says:
    23/11/2023 at 1:20 PM

    Thanks Christian, this advice has been really helpful and i managed to get my Certsrv working.

    Log in to Reply
    1. chris Christian says:
      23/11/2023 at 4:21 PM

      Thank you very much for your kind words @Blake! I am glad you found this guide useful.

      Log in to Reply
  2. Avatar photo S Singh says:
    03/01/2024 at 9:32 PM

    Thanks Christian, loved the details.
    I’ve just recentyly built CA for lab. I’m unable to access https://localhost/certsrv – getting 404. Any ideas what it might be?

    Log in to Reply
    1. chris Christian says:
      03/01/2024 at 10:22 PM

      Hi, I am not sure if you’re accessing with the right URL format. If yes, verify that the certsrv virtual directory exists, if not the web component “Certification Authority Web Enrollment” is missing. Also, ensure that the IIS service is running. Lastly, check the Windows Event Viewer for any related error messages. This would help pinpoint and bring this issue to resolution.

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Synology NAS as a Backup Repository for VBR
    Setup DS923+ Synology NAS as a Backup Repository for VBR Reviews
  • Resolving Vsss Error
    Resolving VSS Errors: Veeam AD Backups failing with SentinelOne Backup
  • Featured image 1
    How to Share Microsoft Outlook Calendar on Desktop and on Web Microsoft Exchange/Office/365
  • images
    Query MBAM to display the BitLocker Recovery report Network | Monitoring
  • banner 3
    How to Set Network Adapter Priority on Windows 11 Network | Monitoring
  • Wiki in Linux
    How to Use Wiki from Linux Terminal Linux
  • Screenshot 1
    Using IBM Library with Veeam Network | Monitoring
  • hero windowsserver hyperv
    Why does the legacy PXE not does work on Generation 2 VM Virtualization

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,824 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.