Event ID 698 — Federation Service Authentication Web Pages
Applies To: Windows Server 2008 R2
The Federation Service provides Web pages that prompt the user to select an appropriate account partner to which the user can authenticate. The Federation Service also provides Web pages that prompt for the user’s credentials, such as a user name and password, for forms-based authentication. A Web page is also provided that supports Windows Integrated authentication and Secure Sockets Layer (SSL) client certificate authentication.
|Product:||Windows Operating System|
|Message:||The ClientCredentialInfo static method CreateCertificateCredential was called in a context where no client certificate was available.
Ensure that only anonymous access is enabled for the ls/auth/sslclient directory and that "Require client certificates" is selected in the Secure Communications dialog box.
Ensure that CreateCertificateCredential is called only from the authentication Web form in the ls/auth/sslclient directory.
Enable only anonymous access
Using the Internet Information Services (IIS) Manager snap-in, ensure that only Anonymous Authentication is enabled for the ls/auth/sslclient directory and that the Client certificates setting is set to Require.
To perform these procedures, you must be a member of the local Administrators group, or you must have been delegated the appropriate authority.
To enable only Anonymous Authentication and ensure that Client certificates is set to Require:
- On the federation server, open the Internet Information Services (IIS) Manager snap-in.
- Click ComputerName\Sites\Default Web site\adfs\ls\auth\sslclient, and, in the center pane, double-click Authentication.
- Ensure that all statuses in the center pane are set to Disabled except for Anonymous Authentication, which should be set to Enabled.
- Click ComputerName\Sites\Default Web site\adfs\ls\auth\sslclient, and, in the center pane, double-click SSL Settings.
- Ensure that Client certificates is set to Require.
To ensure that CreateCertificateCredential is called only from the authentication Web form in the ls/auth/sslclient directory:
Using Notepad on the federation server, open the file clientlogon.aspx under %systemdrive%\Windows\SystemData\ADFS\sts\ls\auth\sslclient.
Ensure that the following line of code is present in the file:
HttpClientCertificate cert = HttpContext.Current.Request.ClientCertificate.
Verify that you can access the Active Directory Federation Services (AD FS)-enabled application from a client browser and that the resource can be accessed with the appropriate authorization.