Collection Rule for event with source CertificationAuthority and ID 43

Microsoft.Windows.CertificateServices.CARole.2016.CertSvcEvents.43 (Rule)

The policy module encountered an error.

Knowledge Base article:

Summary

The policy module contains the set of rules governing issuance, renewal, and revocation of certificates. This policy is created from hard-coded values, registry settings, and, if you are using an enterprise certification authority (CA), certificate templates. The policy module determines whether a certificate request is approved, denied, or marked as pending for an administrator to approve or deny. Problems detected with a policy module can cause a CA to fail to start or to cease functioning.

Resolutions

Address policy module processing errors

If these error messages contain no specific information, check for and resolve any additional related errors either before or after this error.

If the warnings cannot be resolved by addressing related symptoms and there is a problem with a policy module:

MSG_NO_CA_OBJECT, MSG_NO_DOMAIN

This error code indicates that the certification authority (CA) could not connect to Active Directory Domain Services, or it could not find the required Active Directory information. Failure to connect to a domain controller is normally due to a network connectivity problem or a permissions problem. 

To check and correct potential connectivity problems:

MSG_NO_CERT_TYPES

This error code indicates that the CA looked for a list of certificate templates in the CertificateTemplates container in AD DS, but either could not find the list, or the list was empty.

To check and correct potential certificate template problems:

Use the procedure Confirm certificate template configuration and availability to check the permissions and other settings on the certificate template and that it has been added to the CA.

MSG_DOMAIN_INIT

This error code indicates that the CA could not connect to AD DS. This failure may be the result of a network connectivity problem or, more likely, a permissions problem.

To check and correct DOMAIN_INIT problems:

To perform these procedures, you must have Manage CA permission, or you must have been delegated the appropriate authority.

Confirm certificate template configuration and availability

To confirm certificate template configuration and availability:

Confirm permissions on essential AD DS containers and objects

To confirm that the CA has needed permissions on AD DS containers and objects within these containers:

The following are all Active Directory permissions required by a computer hosting a CA. Some of these permissions are achieved via membership in the Cert Publishers group.

Additional

To confirm that the policy module is operational:

Errors relating to the policy module are:

Element properties:

TargetMicrosoft.Windows.CertificateServices.CARole.2016
CategoryEventCollection
EnabledTrue
Event_ID43
Event SourceMicrosoft-Windows-CertificationAuthority
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
RemotableTrue
Alert Message
AD CS Policy Module Processing - Policy module exception
Event Description: {0}
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default
WriteToCertSvcEvents WriteAction Microsoft.Windows.CertificateServices.CARole.CertSvcEvents.Publisher Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default

Source Code:

<Rule ID="Microsoft.Windows.CertificateServices.CARole.2016.CertSvcEvents.43" Enabled="true" Target="CSDisc!Microsoft.Windows.CertificateServices.CARole.2016" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">43</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-CertificationAuthority</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToCertSvcEvents" TypeID="Microsoft.Windows.CertificateServices.CARole.CertSvcEvents.Publisher"/>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="AlertMessageID58c5cd3e83434b31b92618cd2dcd109f"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>