CertSrvConfigCommit Method

Updates Certification Authority configuration on a server.

Definition

Namespace: SysadminsLV.PKI.Management.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public bool Commit(
	bool restart
)

Parameters

restart  Boolean
Indicates whether to restart certificate services to immediately apply changes. Updated settings has no effect until CA service is restarted.

Return Value

Boolean
True if configuration was changed. If an object was not modified since it was instantiated, configuration is not updated and the method returns False.

Remarks

The caller must have Administrator permissions on the target CA server.

Exceptions

ServerUnavailableException The target CA server could not be contacted via remote registry and RPC protocol.

See Also