Extensible Authentication Protocol (EAP)·续1

The following lists the configuration settings for Configure Certificate Selection. These settings define the criteria a client uses to select the appropriate certificate for authentication. This UI maps to TLSExtensions>FilteringInfo.

| Setting | XML element | Description |

| --- | --- | --- |

| Certificate Issuer | CAHashListEnabled="true" | Specifies whether Certificate Issuer filtering is enabled. If both Certificate Issuer and Extended Key Usage (EKU) are enabled, only those certificates that satisfy both conditions are considered valid for authenticating the client to the server. |

| Root Certification Authorities | IssuerHash | Lists the names of all of the issuers for which corresponding certification authority (CA) certificates are present in the Trusted Root Certification Authorities or Intermediate Certification Authorities certificate store of local computer account. This includes:- All the root certification authorities and intermediate certification authorities.<br>- Contains only those issuers for which there are corresponding valid certificates that are present on the computer (for example, certificates that aren't expired or not revoked).<br>- The final list of certificates that are allowed for authentication contains only those certificates that were issued by any of the issuers selected in this list.<br> In XML, this is the SHA-1 thumbprint (hash) of the certificate. |

| Extended Key Usage (EKU) | | Allows you to select All Purpose, Client Authentication, AnyPurpose, or any combination of these. Specifies that when a combination is selected, all the certificates satisfying at least one of the three conditions are considered valid certificates for authenticating the client to the server. If EKU filtering is enabled, one of the choices must be selected, otherwise the Extended Key Usage (EKU) checkbox becomes unchecked. |

| All Purpose | AllPurposeEnabled | When selected, this item specifies that certificates having the All Purpose EKU are considered valid certificates for authenticating the client to the server. The Object Identifier (OID) for All Purpose is 0 or empty. |

| Client Authentication | ClientAuthEKUListEnabled="true" (> EKUMapInList > EKUName) | Specifies that certificates having the Client Authentication EKU, and the specified list of EKUs are considered valid certificates for authenticating the client to the server. The Object Identifier (OID) for Client Authentication is 1.3.6.1.5.5.7.3.2. |

| AnyPurpose | AnyPurposeEKUListEnabled="true" (> EKUMapInList > EKUName) | Specifies that all certificates having AnyPurpose EKU and the specified list of EKUs are considered valid certificates for authenticating the client to the server. The Object Identifier (OID) for AnyPurpose is 1.3.6.1.4.1.311.10.12.1. |

| Add | EKUMapping > EKUMap > EKUName/EKUOID | Opens the Select EKUs dialog box, which enables you to add standard, custom, or vendor-specific EKUs to the Client Authentication or AnyPurpose list. Selecting Add or Edit within the Select EKUs dialog box opens the Add/Edit EKU dialog box, which provides two options: 1. Enter the name of the EKU - Provides a place to type the name of the custom EKU. 2. Enter the EKU OID - Provides a place to type the OID for the EKU. Only numeric digits, separators, and . are allowed. Wild cards are permitted, in which case all of the child OIDs in the hierarchy are allowed. For example, entering 1.3.6.1.4.1.311.* allows for 1.3.6.1.4.1.311.42 and 1.3.6.1.4.1.311.42.2.1. |

| Edit | | Enables you to edit custom EKUs that you've added. The default, predefined EKUs can't be edited. |

| Remove | | Removes the selected EKU from the Client Authentication or AnyPurpose list. |

PEAP

The PEAP settings in the UI map to MsPeapConnectionPropertiesV1, which is extended by MsPeapConnectionPropertiesV2.

| Setting | XML element | Description |

| --- | --- | --- |

| Server validation options | | |

| Select authentication method | | Allows you to select the EAP type to use with PEAP for network authentication. There are two EAP types available, Secure password (EAP-MSCHAP v2) and Smart card or other certificate (EAP-TLS). |

| Configure | EAP-MSCHAP v2: UseWinLogonCredentials EAP-TLS: See EAP-TLS tab, schema | This item provides access to property settings for the specified EAP type. If Secure password (EAP-MSCHAP v2) is selected, the Automatically use my Windows logon name and password (and domain if any) checkbox is available, which specifies that the current user-based Windows sign-in name and password are used as network authentication credentials. If Smart card or other certificate (EAP-TLS) is selected, it opens the Smart Card or other Certificate Properties dialog box for further configuration of this EAP type. |

| Enable fast reconnect | FastReconnect | Enables the ability to create a new or refreshed security association more efficiently and with a smaller number of round-trips if a security association was previously established. For VPN connections, fast reconnect uses IKEv2 technology to provide seamless and consistent VPN connectivity when users temporarily lose their Internet connections. This feature is especially useful for users who connect via wireless mobile broadband as when an Internet connection drops, fast reconnect will automatically re-establish active VPN connections seamlessly and transparently to users. |

| Disconnect if server does not present cryptobinding TLV | RequireCryptoBinding | Specifies that connecting clients must end the network authentication process if the RADIUS server doesn't present cryptobinding Type-Length-Value (TLV). Cryptobinding TLV is a security feature that enhances the security of the TLS tunnel in PEAP. It does this by combining the inner and outer method authentications, making it difficult for attackers to perform man-in-the-middle attacks by redirecting an MS-CHAP v2 authentication through the PEAP channel. |

| Enable identity privacy | IdentityPrivacy>EnableIdentityPrivacy/AnonymousUserName | Specifies that clients are configured so that they can't send their identity before the client has authenticated the RADIUS server, and optionally, provides a place to type an anonymous identity value. If you select Enable identity privacy and then type anonymous as the anonymous identity value, the identity response for a user with identity alice@example is anonymous@example. If you select Enable identity privacy but don't provide an anonymous identity value, the identity response for the user alice@example is @example. |

EAP-TTLS

The EAP-TTLS settings in the UI map to EapTtlsConnectionPropertiesV1.

| Setting | XML element | Description |

| --- | --- | --- |

| Enable identity privacy | Phase1Identity >IdentityPrivacy >AnonymousIdentity | Specifies that clients are configured so that they can't send their identity before the client has authenticated the RADIUS server, and optionally, provides a place to type an anonymous identity value. If you select Enable identity privacy and then type anonymous as the anonymous identity value, the identity response for a user with identity alice@example is anonymous@example. If you select Enable identity privacy but don't provide an anonymous identity value, the identity response for the user alice@example is @example. |

| Server validation options | | |

| Select a non-EAP method for authentication | Phase2Authentication > Any of the following:PAPAuthentication CHAPAuthentication MSCHAPAuthentication MSCHAPv2Authentication | Specifies whether a non-EAP or an EAP type is used for authentication. If Select a non-EAP method for authentication is selected, then Select an EAP method for authentication is disabled. The following are the available authentication options: 1. Unencrypted password (PAP) 2. Challenge Handshake Authentication Protocol (CHAP) 3. Microsoft CHAP (MS-CHAP) 4. Microsoft CHAP Version 2 (MS-CHAP v2). |

| Automatically use my Windows logon name and password | UseWinlogonCredentials | If enabled, this item uses Windows sign-in credentials and is only available if MS-CHAP v2 is selected in the Select a non-EAP method for authentication drop-down list. Automatically use my Windows logon name and password is disabled for PAP, CHAP, and MS-CHAP authentication types. |

| Select an EAP method for authentication | Phase2Authentication >EapHostConfig | Specifies whether an EAP type or a non-EAP type is used for authentication. If Select an EAP method for authentication is selected, then Select a non-EAP method for authentication is disabled. The following are the available authentication options: 1. Microsoft: Smart Card or other certificate (EAP-TLS) 2. Microsoft: Secured password (EAP-MSCHAP v2) The drop-down list enumerates all the EAP methods that are installed on the server, except for PEAP and FAST tunnel methods. The EAP types are listed in the order that they're discovered by the computer. |

| Configure | | Opens the properties dialog box of the specified EAP method. |

TEAP

The TEAP settings in the UI map to EapTeapConnectionPropertiesV1. TEAP is available starting in Windows 10, version 2004 (build 19041) and Windows Server 2022.

| Setting | XML element | Description |

| --- | --- | --- |

| Identity privacy | Phase1Identity > IdentityPrivacy > AnonymousIdentity | Specifies that clients are configured so that they can't send their identity before the client has authenticated the RADIUS server, and optionally, provides a place to type an anonymous identity value. If you select Enable identity privacy and then type anonymous as the anonymous identity value, the identity response for a user with identity alice@example is anonymous@example. If you select Enable identity privacy but don't provide an anonymous identity value, the identity response for the user alice@example is @example. |

| Server validation options | | |

| Select a {primary/secondary} EAP method for authentication | Phase2Authentication (> InnerMethodConfig > EapHostConfig) | Allows the user to choose a primary/secondary authentication method between Microsoft: Smart card or other certificate (EAP-TLS) and Microsoft: Secured password (EAP-MSCHAP v2). It's allowed to have any combination of inner methods. For example, the inner method could be EAP-TLS with machine credentials, followed by EAP-TLS with user credentials. |

| Configure | | If Microsoft: Smart card or other certificate (EAP-TLS) is selected, it opens the Smart Card or other Certificate Properties dialog box. If Microsoft: Secured password (EAP-MSCHAP v2) is selected, the Automatically use my Windows logon name and password (and domain if any) checkbox becomes available, which specifies that the current user-based Windows sign-in name and password are used as network authentication credentials. |


Server certificate validation

Many EAP methods include an option for the client to validate the server's certificate. If the server certificate isn't validated, the client can't be sure that it's communicating with the correct server. This exposes the client to security risks, including the possibility that the client might unknowingly connect to a rogue network.

Note

Windows requires the server certificate have the Server Authentication EKU. The object identifier (OID) for this EKU is 1.3.6.1.5.5.7.3.1.

The following table lists the server validation options applicable to each EAP method. Windows 11 updated the server validation logic to be more consistent. To learn more, see Updated server certificate validation behavior in Windows 11. Should they conflict, the descriptions in the following table describe the behavior for Windows 10 and earlier.

| Setting | XML element | Description |

| --- | --- | --- |

| Verify the server's identity by validating the certificate | EAP-TLS:PerformServerValidationPEAP:PerformServerValidation | This item specifies that the client verifies that server certificates presented to the client computer have: - The correct signatures<br>- The signatures aren't expired<br>- Were issued by a trusted root certification authority (CA)<br>Disabling this check box causes client computers to be unable to verify the identity of your servers during the authentication process. If server authentication does not occur, users are exposed to severe security risks, including the possibility that users might unknowingly connect to a rogue network. |

| Connect to these servers | EAP-TLS:ServerValidation>ServerNamesPEAP:ServerValidation>ServerNamesEAP-TTLS:ServerValidation >ServerNamesTEAP:ServerValidation >ServerNames | Allows you to specify the name for Remote Authentication Dial-In User Service (RADIUS) servers that provide network authentication and authorization. You must type the name exactly as it appears in the subject field of each RADIUS server certificate or use regular expressions (regex) to specify the server name. The complete syntax of the regular expression can be used to specify the server name, but to differentiate a regular expression with the literal string, you must use at least one * in the string specified. For example, you can specify nps.*\.example\.com to specify the RADIUS server nps1.example.com or nps2.example.com. You can also include a ; to separate multiple servers.If no RADIUS servers are specified, the client only verifies that the RADIUS server certificate was issued by a trusted root CA. |