NewByEapTlsAuth method of the PS_EapConfiguration class

Creates an Extensible Authentication Protocol (EAP) configuration object that uses the EAP Transport Layer Security (EAP-TLS) secure protocol.

Syntax

static uint32 NewByEapTlsAuth(
  [in]  boolean          Tls,
  [in]  boolean          UserCertificate,
  [in]  boolean          VerifyServerIdentity,
  [out] EapConfiguration cmdletOutput
);

Parameters

Tls [in]

True to use EAP-TLS (smart card or user certificate) as the authentication method; false to not use it.

UserCertificate [in]

If Tls is True: True to use a user certificate for authentication; false to use a smart card for authentication.

VerifyServerIdentity [in]

True to validate the identity of the server when connecting with VPN; otherwise, false. This parameter is used with Protected Extensible Authentication Protocol (PEAP) and EAP-TLS (with tunneled EAP client authentication).

cmdletOutput [out]

When this method returns, contains the EapConfiguration object.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\Client
MOF
VPNClientPSProvider.mof
DLL
VPNClientPSProvider.dll

See also

PS_EapConfiguration