具有來源 CertificationAuthority 和 ID 45 的事件收集規則

Microsoft.Windows.CertificateServices.CARole.2016.CertSvcEvents.45 (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_ID45
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.45" 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">45</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>