Microsoft Sharepoint 2013 : Federated Authentication (part 2) - Active Directory Federated Services - Preparing for ADFS Installation
Preparing for ADFS Installation
Before we install ADFS, it is important that we complete a series of pre-installation steps, to establish a new DNS name and certificate with which we shall access ADFS. The following steps assume you completed the steps in the earlier section “Install Certificate Authority.”
- Create a new ADFS user account in the domain; do not add the account to any groups. ADFS will assign privileges (Figure 4).
Figure 4. Create an account for ADFS
- Run the Microsoft Management Console (MMC.exe).
- Add the following snap-ins:
- a. Certificate Templates
- b. Certificates (Local Computer)
- c. Certification Authority (Local Computer)
- d. ADFS 2.0
- Expand the Certificate Templates node.
- Right-click the Web Server template and select the option to duplicate the template (Figure 5).
Figure 5. Duplicate the Web Server certificate template
- Select the version of template for Windows Server 2008 Enterprise.
- Give the template a name and display name of ADFS.
- Click the security tab to assign the new ADFS service account, Read and Enroll permissions (Figure 6).
Figure 6. Read and Enroll permissions for the ADFS service account
- Assign authenticated users the Read and Enroll permissions (I had to do this to allow me to create a new certificate later).
- Click the Request Handling tab and then check the option to allow the private key to be exported.
- Click the OK button on the dialog.
- Expand the Certification Authority node.
- Expand the Server Name node.
- Right-click Certificate Templates.
- Select Certificate Template to Issue (Figure 7).
Figure 7. Create new certificate template for ADFS
- Choose the ADFS certificate template (Figure 8), then click the OK button.
Figure 8. ADFS Certificate Template for new ADFS certificate
- Create a new CNAME in your DNS, which resolves the IP of the ADFS server—I use the Windows DNS services on my AD server (Figure 9).
Figure 9. New CNAME in DNS
- Expand the Certificates node in the MMC.
- Expand the Personal node, and then expand Certificates.
- Right-click the Certificates node and then select the option to request a new certificate, within the All Tasks menu (Figure 10. Request a new certificate for ADFS).
Figure 10. Request a new certificate for ADFS
- Click the Next button on the certificate enrollment dialog.
- Choose the Active Directory Enrollment Policy (Figure 11) and click the Next button.
Figure 11. Active Directory Enrollment Policy
- Check the ADFS certificate, shown in Figure 12.
Figure 12. Select ADFS certificate template
- Click the link to configure more settings.
- Change the Type drop-down to Common Name in the Subject name section.
- Enter the DNS name in the Value field of the Subject name section.
- Click the Add button; my dialog now looks like that in Figure 13.
Figure 13. Configuration settings for ADFS certificate
- Click OK to close the configuration settings dialog, then the Enroll button on the enrollment dialog.
- Click the Finish button once the enrollment process completes.
- Right-click the new certificate you just created.
- Select All Tasks, then click the option to manage private keys.
- Grant the ADFS service account Full Control and Read permissions.
With the pre-installation configuration steps complete, you are now ready to begin the installation of ADFS.