Compartilhar via


IUpdateServerConfiguration.GetSigningCertificate Method (String)

 

Applies To: Windows Server Update Services

Saves the current registered certificate to the specified path.

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

Syntax

void GetSigningCertificate(
    string certificateFile
)
void GetSigningCertificate(
    String^ certificateFile
)
abstract GetSigningCertificate : 
        certificateFile:string -> unit
Sub GetSigningCertificate (
    certificateFile As String
)

Parameters

  • certificateFile
    Type: System.String

    The full file path of the certificate.

Exceptions

Exception

Condition

Win32Exception

An HRESULT error code has been returned from a native function.

ArgumentNullException

certificateFile is null.

Remarks

This operation requires WSUS Administrator privileges. Also, make sure that the HKEY_CLASSES_ROOT\AppID\{8F5D3447-9CCE-455C-BAEF-55D42420143B} registry key is owned by the Administrators group, that the registry key permissions show that Administrators and SYSTEM have full control, and that the WSusCertServer security properties for the WSUS Administrators group show that local launch, activation, and access permissions have been granted.

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top