具有來源 OnlineResponder 和 ID 33 的事件收集規則

Microsoft.Windows.CertificateServices.CARole.2016.OCSPEvents.33 (Rule)

產生簽署憑證的註冊要求時線上回應服務發生錯誤。

Knowledge Base article:

摘要

憑證授權單位 (CA) 需要足夠的系統資源和作業系統元件才能正確運作。如果伺服器的記憶體或硬碟空間不足,或是作業系統元件無法使用,則嘗試啟動 Active Directory 憑證服務 (AD CS) 可能會失敗。

解決方式

使用 AD CS 服務執行緒修正問題

若要執行這些程序,您必須擁有管理 CA 權限,或者必須已被委派適當的權限。

若要解決導致 Active Directory 憑證服務 (AD CS) 無法啟動的服務執行緒問題:

建立偵錯記錄

若要建立偵錯記錄:

啟用 CryptoAPI 2.0 診斷

若要啟用 CryptoAPI 2.0 診斷:

其他

若要確認 CA 服務可供使用:

CAconfig 是 CA 組態字串,其格式為 CAhostname\CAname。

Element properties:

TargetMicrosoft.Windows.CertificateServices.CARole.2016
CategoryEventCollection
EnabledTrue
Event_ID33
Event SourceMicrosoft-Windows-OnlineResponder
Alert GenerateFalse
RemotableTrue
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default
WriteToOCSPEvents WriteAction Microsoft.Windows.CertificateServices.CARole.OCSPEvents.Publisher Default

Source Code:

<Rule ID="Microsoft.Windows.CertificateServices.CARole.2016.OCSPEvents.33" 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">33</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-OnlineResponder</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToOCSPEvents" TypeID="Microsoft.Windows.CertificateServices.CARole.OCSPEvents.Publisher"/>
</WriteActions>
</Rule>