Share via


InstallManagementServerCertificate Method of the IFPC3 Interface

The InstallManagementServerCertificate method installs a server certificate for accessing the stored configuration on the local Forefront TMG computer.

C++

Syntax

HRESULT InstallManagementServerCertificate(
  [in]  BSTR ServerCertificatePath,
  [in]  BSTR ServerCertificateExportPassword
);

Parameters

  • ServerCertificatePath
    Required. BSTR that specifies the full path of the file containing the server certificate.

  • ServerCertificateExportPassword
    Required. BSTR that specifies the password provided when the server certificate was exported.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Visual Basic

Syntax

Sub InstallManagementServerCertificate( _
  ByVal ServerCertificatePath As String, _
  ByVal ServerCertificateExportPassword As String _
)

Parameters

  • ServerCertificatePath
    Required. String that specifies the full path of the file containing the server certificate.

  • ServerCertificateExportPassword
    Required. String that specifies the password provided when the server certificate was exported.

Return Value

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

Use this method to install a server certificate on the array manager of a standalone array in a workgroup environment.

The other array members must have the root certification authority certificate of the certification authority that issued the server certificate installed by this method.

This method is available only in Forefront TMG Enterprise Edition.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPC

Send comments about this topic to Microsoft

Build date: 6/30/2010