Share via


IUpdateServerConfiguration.SetSigningCertificate Method

 

Applies To: Windows Server Update Services

Registers a certificate in the WSUS store and removes any existing certificate. There are multiple overloads of this method in which the parameter variants of this method can be used to specify the PFX certificate and password to be used. Note that the method without parameters first creates the certificate and then registers that certificate in the WSUS store.

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

Overload List

Name Description
System_CAPS_pubmethod SetSigningCertificate()

Creates and registers a new certificate in the WSUS store and removes any existing certificate.

System_CAPS_pubmethod SetSigningCertificate(String, SecureString)

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 SecureString object.

System_CAPS_pubmethod SetSigningCertificate(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.

Remarks

This operation requires WSUS Administrator privileges.

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top