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

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

退出模块返回了一个严重错误。

Knowledge Base article:

摘要

Active Directory 证书服务 (AD CS) 退出模块会在颁发证书后执行若干功能,例如将该证书发布到文件系统,或发送电子邮件通知。

解决方案

修正退出模块错误

Active Directory 证书服务 (AD CS) 退出模块可以在颁发证书后执行更多功能,例如将该证书发布到文件系统,或发送电子邮件通知。

有关修改退出模块的信息,请参见配置策略和退出模块 ( http://go.microsoft.com/fwlink/?LinkId=104207)。

如果退出模块存在问题并且无法通过解决相关症状来解决错误,请执行以下操作:

其他

用于确认退出模块是否运行正常的流程取决于您所使用的退出模块。

如果您正在使用默认的 Microsoft 退出模块:

如果您使用的是自定义或非 Microsoft 退出模块,请确认自定义退出模块正在完成的其他任务是否是它应当完成的。

处理证书申请

要确认证书申请处理是否正常,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.CertificateServices.CARole.2016
CategoryEventCollection
EnabledTrue
Event_ID46
Event SourceMicrosoft-Windows-CertificationAuthority
Alert GenerateFalse
RemotableTrue
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider 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.46" 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">46</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"/>
</WriteActions>
</Rule>