ICertSrvSetup::SetWebCAInformation method (casetup.h)
The SetWebCAInformation method sets the certification authority (CA) information for the Certification Authority Web Enrollment role. You can use this method to enable certificate-related requests to a remote CA through a web interface.
Syntax
HRESULT SetWebCAInformation(
[in] const BSTR bstrCAConfiguration
);
Parameters
[in] bstrCAConfiguration
A string that contains a valid configuration for the CA. The string must be in the form ComputerName or ComputerName\CAName, where ComputerName is the network name of the CA host computer, and CAName is the common name of the CA.
Return value
None
Remarks
The SetWebCAInformation method pings the CA computer to verify that it is available on the network.
Upon success, SetWebCAInformation sets the ENUM_SETUPPROP_WEBCAMACHINE and ENUM_SETUPPROP_WEBCANAME properties for the Certification Authority Web Enrollment role configuration. For more information about setup properties, see CASetupProperty.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | casetup.h |
DLL | Certocm.dll |