IFPC3::InstallManagementServerCertificate method
Applies to: desktop apps only
The InstallManagementServerCertificate method installs a server certificate for accessing the stored configuration on the local Forefront TMG computer.
Syntax
HRESULT InstallManagementServerCertificate(
[in] BSTR ServerCertificatePath,
[in] String ServerCertificatePath,
[in] BSTR ServerCertificateExportPassword,
[in] String ServerCertificateExportPassword
);
FPC.InstallManagementServerCertificate( _
ByVal ServerCertificatePath As BSTR, _
ByVal ServerCertificatePath As String, _
ByVal ServerCertificateExportPassword As BSTR, _
ByVal ServerCertificateExportPassword As String _
)
Parameters
ServerCertificatePath [in]
C++ Required. BSTR that specifies the full path of the file containing the server certificate.
VB Required. String that specifies the full path of the file containing the server certificate.
ServerCertificateExportPassword [in]
C++ Required. BSTR that specifies the password provided when the server certificate was exported.
VB Required. String that specifies the password provided when the server certificate was exported.
Return value
C++
This method returns S_OK if the call is successful; otherwise, it returns an error code.
VB
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
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
IDL |
Msfpccom.idl |
DLL |
Msfpccom.dll |
See also
Build date: 7/12/2010