Compartilhar via


SetSSTPCertificate method of the PS_RemoteAccessLocal class

This method is used to set the SSTP certificate on the RemoteAccess server.

Syntax

uint32 SetSSTPCertificate(
  [in] uint8   CertificateHash[],
  [in] boolean UseHttps
);

Parameters

CertificateHash [in]

The SHA256 hash of the SSTP Certificate.

UseHttps [in]

Use HTTPs protocol for SSTP connection.

Windows Server 2012 and Windows Server 2012 R2: This parameter does not exist prior to Windows Server 2016.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\Server
MOF
RAServerPSProvider.mof
DLL
RAServerPSProvider.dll

See also

PS_RemoteAccessLocal