Export (0) Print
Expand All

IUpdateServerConfiguration.SetSigningCertificate Method (String, String)

Registers a specified certificate in the WSUS store and removes any existing certificate. This version of the method requires the PFX certificate name and the certificate password, which is passed as a .NET Framework String object.

Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

void SetSigningCertificate (
	string pfxFile,
	string password
void SetSigningCertificate (
	String pfxFile, 
	String password
function SetSigningCertificate (
	pfxFile : String, 
	password : String



The PFX certificate to import into WSUS store.


Password to open the PFX file

Exception typeCondition

HRESULT error code returned from native function.

If pfxFile is null, the current registered certificate will be removed.

This operation requires WSUS Administrator privileges.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
© 2015 Microsoft