SetSslCertificate method of the BitsCompactServerUrlGroup class

The SetSslCertificate method sets the SSL certificate for a port.

Syntax

uint32 SetSslCertificate(
  [in] uint16 Port,
  [in] string StoreName,
  [in] uint8  hashBlob[]
);

Parameters

Port [in]

Specifies the port on which the certificate must be bound.

StoreName [in]

A null-terminated string that contains the name of the certificate store.

hashBlob [in]

Specifies the SHA1 hash that identifies the certificate.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 R2
Redistributable
Windows Management Framework on Windows Server 2008 with SP2
Namespace
Root\microsoft\bits
MOF
BitsProvider.mof

See also

BitsCompactServerUrlGroup