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

Microsoft.Windows.CertificateServices.CARole.6.2.CertSvcEvents.44 (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 權限。其中部分權限會經由 Cert Publishers 群組中的成員資格保存。

其他

若要確認原則模組是可操作的:

Element properties:

TargetMicrosoft.Windows.CertificateServices.CARole.6.2
CategoryEventCollection
EnabledTrue
Event_ID44
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.6.2.CertSvcEvents.44" Enabled="onEssentialMonitoring" Target="CSDisc!Microsoft.Windows.CertificateServices.CARole.6.2" 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">44</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="AlertMessageID9588b294036d4587a0048085989b2d96"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>