具有源 CertificationAuthority 和 ID 43 的事件的收集规则

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

策略模块出错。

Knowledge Base article:

摘要

策略模块包含管理证书的颁发、续订和吊销的规则集。该策略通过硬编码值、注册设置以及证书模板(如果使用的是企业证书颁发机构 (CA) 的话)创建。策略模块可确定证书申请是否通过批准、被拒或标记为挂起,以用于管理员批准或拒绝。策略模块所监测到的问题可以导致 CA 启动失败或停止运行。

解决方案

地址策略模块处理错误

如果这些错误消息中不包含指定信息,请检查并解决该错误之前或之后的任何其他的相关错误。

如不能通过排除相关症状来消除警告,说明策略模块存在问题:

MSG_NO_CA_OBJECT, MSG_NO_DOMAIN

此错误代码指示证书颁发机构(CA)无法连接到 Active Directory 域服务,或无法找到所需的 Active Directory 信息。域控制器连接失败通常是因网络连接问题或权限问题而引起的。 

若要检查并更正潜在的连接问题,请执行以下操作:

MSG_NO_CERT_TYPES

该错误代码表示 CA 已在 AD DS 的证书模板容器中查找证书模板的列表,但是无法找到该列表,或列表为空。

若要检查并解决潜在的证书模板问题,请执行以下操作:

使用“确认证书模板配置和可用性”过程来检查关于证书模板的权限和其他设置,以及是否已添加到 CA 中。

MSG_DOMAIN_INIT

该错误代码表示 CA 无法连接到 AD DS。该错误可能是由网络连接问题引起,或多半由权限问题引起。

要检查并解决 DOMAIN_INIT 问题,请执行以下操作:

要执行这些过程,您必须拥有管理 CA 权限,或者您必须被委派了适当的权限。

确认证书模板的配置和可用性

要确认证书模板的配置和可用性,请执行以下操作:

确认基本 AD DS 容器和对象的权限

要确认 CA 具有 AD DS 容器及这些容器内对象的所需权限,请执行以下操作:

以下是托管 CA 的计算机需要的所有 Active Directory 权限。某些权限是通过证书发行者组中的成员存档的。

其他

若要确认策略模块是否可操作的,请执行以下操作:

与策略模块相关的错误如下:

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 策略模块处理 - 策略模块异常
事件说明:{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>