Create Certificate Template for SSL Certificate, Token Signing Certificate and Token Decryption Certificate for AD FS

You need to create a certificate template that will be used for the SSL, Token Signing, and Token Decryption certificates.

  1. Log in to the Certificate Authority server as a domain administrator.

  2. Select Start, click on Run then type MMC and click on OK.

  3. MMC Console window populates, select File and select Add/Remove Snap-in… .

  4. From the Add or Remove Snap-Ins dialog box, find and select the Certificates and Certificate Authority snap-in under the Available snap-ins section.

  5. Click Add, select Computer Account, and click Next.

  6. Select Local Computer and click on Finish.

tmppn7jy4ln.jpg

Certificate authority selection wizard

  1. Open Certificate Template and duplicate the Web Server template and name it as ADFSCertificateTemplate from General tab.

tmpn0n9xw4m.jpg

Certificate template wizard

  1. Go to the Compatibility tab and select the appropriate Windows Server. For example, the Windows 2016 server as below.

tmp1s3qhbq_.jpg

AD FS certificate template properties wizard

  1. Go to the Cryptographic tab and select the Provider Category, Algorithm name and Minimum key size. Select Requests must use one of the following providers option and check Utimaco Cryptoserver Key Storage Provider, as below.

tmpa5c_y6nh.jpg

AD FS certificate template properties wizard

If you are using an existing CA, make sure to install the SecurityServer software on it. This will add Utimaco Cryptoserver Key Storage Provider to the providers list, as shown above.

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

  1. Go to the Subject Name tab and make sure to uncheck E-mail name option, and check the User principal name (UPN) option.

tmpq36rsovg.jpg

AD FS properties wizard

  1. Go to the Security tab and add domain computer, NETWORK SERVICE and IIS_IUSRS in Groups and username, provide the read, enroll permissions. Then click on Apply and OK.

You can see the ADFSCertificateTemplate has been created under the certificate template.

tmpsqe3lkpl.jpg

MMC console