This guide covers the deployment of the Active Directory Certificate Services (AD CS) Enrollment Web Service (CES) role using group Managed Service Accounts (gMSA) on Server Core. The Enrollment Web Service allows for automated certificate issuance to computers that are unable to directly reach the Certificate Authorities over the standard DCOM ports, such as external or DMZ housed computers. Users and computers can enroll for certificates from a CES server over HTTPS/443.
The Enrollment Web Service binds to an individual issuing Certificate Authority. To issue certificates from multiple CAs, multiple CES servers will need to be provisioned. The CES server requires that at least one Certificate Enrollment Policy Web Service (CEP) server be configured. The CES and CEP roles can both exist on the same system or can be deployed separately.
Requirements
- Enterprise Administrator
- Administrator permissions on the target Enterprise Certificate Authority.
- A deployed and functional Enterprise PKI.
- A deployed and enabled Certificate Enrollment Policy Web Service server.
Summary Steps
- Enroll a Computer Certificate for the CES server IIS binding.
- Install the Certificate Authority feature with the Enrollment Web Service role.
- Create a group Managed Service Account (gMSA) for the IIS App Pool.
- Assign the gMSA to the local IIS_IUSRS group on the CES server.
- Assign a service principal name (SPN) to the gMSA.
- Configure the gMSA for constrained delegation to the Certificate Authorities.
- Assign the gMSA to the CES server IIS App Pool.
