EnrollWebServerCertificate method of the PS_RemoteAccessLocal class

This method enrolls a web server certificate.

Syntax

uint32 EnrollWebServerCertificate(
  [in]  string TemplateName,
  [in]  string SubjectName,
  [out] uint8  EncodedCertificate[]
);

Parameters

TemplateName [in]

Template name of the Certificate

SubjectName [in]

Subject name of the certificate

EncodedCertificate [out]

The certificate

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