Installing AD CS with Locally Stored Primary Key

  1. Join a machine to the Domain and Log in as a user with Administrative privileges

  2. Select Start and select Server Manager to open Server Manager. Select Manage, then select Add Roles & Features

image-20251110-101704.png

Figure 67: Server Manager window

  1. The Before you begin window opens. Select Next

image-20251110-101718.png

Figure 68: Before You Begin window

  1. On the Select installation type window, make sure the default Role or Feature Based Installation is selected. Click Next

image-20251110-101747.png

Figure 69: Select Installation Type window

  1. On Server selection, select a server from the server pool. Click Next

image-20251110-101806.png

Figure 70: Select Destination Server window

  1. On the Select server roles window, select the Active Directory Certificate Services role

image-20251110-101849.png

Figure 71: Select Destination Server window

  1. When prompted to install Remote Server Administration Tools, select Add Features. Click Next

  2. On the Select features window, click Next

  3. On the Active Directory Certificate Services window, click Next

image-20251110-101913.png

Figure 72: Active Directory Certificate Services window

  1. On the Select role services window, the Certification Authority role is selected by default. Click Next

image-20251110-101929.png

Figure 73: Select Role Services window

  1. On the Confirm installation selections window, verify the information then click Install

image-20251110-101947.png

Figure 74: Confirm Installation Selections window

  1. When the installation is complete, select the Configure Active Directory Certificate Services on the destination server link

image-20251110-102007.png

Figure 75: Installation Progress window

  1. On the Credentials window, make sure that Administrator’s credentials are displayed in the Credentials box. If not, select Change and specify the appropriate credentials. Click Next

image-20251110-102027.png

Figure 76: Credentials window

  1. On the Role Services window, select Certification Authority. This is the only available

selection when the certification authority role is installed on the server, click Next

image-20251110-102043.png

Figure 77: Credentials window

  1. On the Setup Type window, select the appropriate CA setup type for your requirements. Click Next

image-20251110-102112.png

Figure 78: Setup Type window

  1. On the CA Type window, Root CA is selected by default. Click Next

image-20251110-102129.png

Figure 79: CA Type window

  1. On the Private Key window, leave the default selection to Create a new private key selected. Click Next

image-20251110-102145.png

Figure 80: Private Key window

  1. On the Cryptography for CA window, select the appropriate Microsoft cryptographic provider along with the key type, key length, and suitable hash algorithm and click Next

image-20251110-102206.png

Figure 81: Cryptography for CA window

  1. On the CA Name window, give the appropriate CA name. Click Next

image-20251110-102223.png

Figure 82: CA Name window

  1. On the Validity Period window, enter the number of years for the certificate to be valid. Click Next

image-20251110-102241.png

Figure 83: Validity Period window

  1. On the CA Database window, leave the default locations for the database and database log files. Click Next

image-20251110-102302.png

Figure 84: CA Database window

  1. On the Confirmation window, click Configure

image-20251110-102319.png

Figure 85: Confirmation window

  1. Click Close to exit the AD CS Configuration wizard after viewing the installation results. A private key for the CA will be generated and stored on the HSM

image-20251110-102337.png

Figure 86: Results window

  1. Open a command prompt and run the following command to verify that service is running:

›_ Console

> sc query certsvc
  1. Open a command prompt and run the following command to verify the CA key:

›_ Console

> certutil –verifykeys

If you are using Smartcard Authentication, the prompt will go on the PIN Pad device to insert Smartcard and enter the pin. Then press OK button on the PIN Pad.