Configuring AD FS for user certificate authentication
Applies To: Windows Server 2016, Windows Server 2012 R2
AD FS can be configured for x509 user certificate authentication using one of the modes described in this article. This capability can be used with Azure Active Directory or on its own, to enable clients and devices provisioned with user certificates to access AD FS resources from the intranet or the extranet.
- Ensure that your user certificates are trusted by all AD FS and WAP servers
- Ensure that the root certificate of the chain of trust for your user certificates is in the NTAuth store in Active Directory
- If using AD FS in alternate certificate authentication mode, ensure that your AD FS and WAP servers have SSL certificates that contain the AD FS hostname prefixed with "certauth", for example "certauth.fs.contoso.com", and that traffic to this hostname is allowed through the firewall
- If using certificate authentication from the extranet, ensure that at least one AIA and at least one CDP or OCSP location from the list specified in your certificates are accessible from the internet.
- If you are configuring AD FS for Azure AD certificate authentication, ensure that you have configured the Azure AD settings and the AD FS claim rules required for certificate Issuer and Serial Number
- Also for Azure AD certificate authentication, for Exchange ActiveSync clients, the client certificate must have the user�s routable email address in Exchange online in either the Principal Name or the RFC822 Name value of the Subject Alternative Name field. (Azure Active Directory maps the RFC822 value to the Proxy Address attribute in the directory.)
Configure AD FS for user certificate authentication
- Enable user certificate authentication as an intranet or extranet authentication method in AD FS, using either the AD FS Management console or the PowerShell cmdlet Set-AdfsGlobalAuthenticationPolicy
- Ensure that the entire chain of trust, including any intermediate certificates, is installed on every AD FS and WAP server. The intermediate certificates should be installed in the local computer intermediate certification authorities store on all AD FS and WAP servers.
- If you wish to use claims based on certificate fields and extensions in addition to EKU (claim type https://schemas.microsoft.com/2012/12/certificatecontext/extension/eku), configure additional claim pass through rules on the Active Directory claims provider trust. See below for a complete list of available certificate claims.
- [Optional] Configure allowed issuing certification authorities for client certificates using the guidance under "Management of trusted issuers for client authentication" in this article.
- If certificate authentication requests fail with an HTTP 204 "No Content from https://certauth.fs.contoso.com" response, verify that the root and any intermediate CA certificates are installed, respectively, to the trusted root CA and intermediate CA certificate stores on all federation servers.
- If certificate authentication requests are failing for unknown reasons, export the client certificate to a .cer file, and run the command "certutil -f -urlfetch -verify certificatefilename.cer". Ensure any CRL and delta CRL locations resolve. Note that delta CRL locations are found based on the contents of the Base CRL.