# Security - Windows LDAPS Cert

This is to setup a Windows ADCS

#### Windows Certificate

These command are to install ADCS, this will take a while to complete.

##### Step 1: Install Active Directory Certificate Services (AD CS)

```powershell
Add-WindowsFeature Adcs-Cert-Authority -IncludeManagementTools
```

##### Step 2: Assign EnterpriseRootCA Role

```powershell
Install-AdcsCertificationAuthority -CAType EnterpriseRootCA
```

Type "Y" for the installation question

This will update the server

```powershell
gpupdate /force
```

##### Step 3: Verify AD CS Role is Installed

Go to server manager and verify by refreshing the page and that the AD CS Role was installed

[![image.png](https://docs.sflservicesllc.com/uploads/images/gallery/2026-02/scaled-1680-/QJZimage.png)](https://docs.sflservicesllc.com/uploads/images/gallery/2026-02/QJZimage.png)

Step 4: Create Certificate Template

Run the following

```powershell
certsv.msc
```