After looking around a bit I couldn’t find a decent tutorial that addressed this specific scenario (not one that demonstrated Powershell anyway). I ended up writing this for a client who didn’t have their PKI infrastructure sorted out yet. I prefer to use Powershell as it is much faster and efficient for these steps. (Just my opinion.)
Open Powershell console as an administrator. Follow the screenshots. Few words are needed for this tutorial.
Get-WindowsFeature *ad* #This will show you the currently installed features Add-WindowsFeature ADCS-Cert-Authority #Will install the necessary feature
After the Certification Authority is installed, you must configure it from the Server Manager console.
There is NO NEED TO MODIFY THE DEFAULT NAME HERE. However, I don’t think it matters much if you do.
DO NOT USE SPACES IN THE NAME.
Install these features:
- Certificate Enrollment Policy Web Service
- Certification Authority Web Enrollment
# Install both features with one command
Add-WindowsFeature ADCS-Enroll-Web-Pol, ADCS-Web-Enrollment
Add the management tool with this command:
Now you must configure the services.
Select the certificate that you just created from the list, then click Next.
When accessing the web cert enrollment portal add your CA’s server address to the Trusted Sites.
It’s best if you use the fully qualified domain name (FQDN) as shown in the picture below.
Make sure you configure the AIA and CLR extensions in the Certification Authority tool as shown in the screenshots below. This tool is accessed from the Server Manager console and should have been installed with the Powershell command above.
Make sure you configure the auto-enroll option as shown below:
Test the enrollment page
This is what you should see.