Creating a Certificate Authority on Windows Server 2012
In this tutorial we will be setting up a Certificate Authority (CA) on a domain controller running Server 2012. In this lab the functional level of the domain and forest are set to 2012.
Install the CA Role
- Begin by logging into your server using a domain admin account.
- From Server Manager dashboard click “Add roles and features”
- Click NEXT
- At installation type, accept the default value and click NEXT.
- At the server selection prompt accept the default and click NEXT.
- At the server roles prompt, select Active Directory Certificate Services. You will then be prompted to install additional tools. At this prompt click Add Features. Then click NEXT.
- Click NEXT at the following prompt.
- At the role services prompt select the features you wish to install. You may be asked to install additional prerequisites. If so, click Add Features. In this lab I am installing all role services.
- Once you have selected your role services, click NEXT.
- Click NEXT at the following two prompts.
- Finally, at the last prompt check “Restart the destination server automatically if required” and then click Install.
- After the installation finished and your server has been restarted, you may configure the CA Authority.
Configuration
- After the installation is complete you will see a notification in server manager. Select the item labeled Post-Deployment Configuration.
- At the credentials prompt, click NEXT.
- At the Role services select the first three as shown below. After making your selections, click NEXT.
- Click NEXT at the setup type prompt.
- Click NEXT at the CA Type prompt to accept the default of Root CA.
- Click NEXT at the Private Key prompt to accept the default of Create new private key.
- Click NEXT on the CA Name to accept the defaults. Otherwise input your desired common name.
- Define the length of your desired validity period. The default is 5 years. Click NEXT.
- Accept the defaults for the Certificate database values unless you have a specific reason to store them elsewhere. Click NEXT.
- Verify your configuration and click Configure.
- After the configuration finishes, you should be presented with the following:
- In my case, I was prompted to install additional role services. I clicked NO.
If you would like to test your configuration, you may point your browser to http:\\nameofserver\certsrv
Obviously, you would want to replace “nameofserver” with your server’s name.
I hope this helps those new to Server 2012. Let me know if you run into any issues or if you have any recommended configuration changes.