Insamlingsregel för händelse med källan CertificationAuthority och ID 45

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

En stängningsmodul har returnerat ett allvarlig fel.

Knowledge Base article:

Sammanfattning

Stängningsmodulen för Active Directory-certifikattjänster utför flera funktioner efter att ett certifikat har utfärdats, som att publicera certifikatet till filsystemet och skicka e-postmeddelanden.

Lösningar

Åtgärda ett stängningsmodulfel

En stängningsmodul för Active Directory-certifikattjänster kan utföra flera funktioner efter att ett certifikat har utfärdats, som att publicera certifikatet till filsystemet och skicka e-postmeddelanden.

Information om hur du ändrar en stängningsmodul finns på Konfigurera princip- och stängningsmoduler ( http://go.microsoft.com/fwlink/?LinkId=104207).

Om ett problem uppstår med en stängningsmodul och felet inte kan lösas genom att åtgärda liknande symptom:

Ytterligare

Vilken process du använder för att bekräfta att en stängningsmodul fungerar korrekt beror på vilken stängningsmodul du använder.

Om du använder Microsofts standardstängningsmodul:

Om du använder en anpassad eller icke-Microsoft stängningsmodul bekräftar du att den anpassade stängningsmodulen slutför de ytterligare uppgifter som den är ämnad att utföra.

Behandla en certifikatbegäran

Bekräfta att bearbetning av certifikatbegäran fungerar korrekt:

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>