具有源证书颁发机构和 ID 48 的事件的收集规则

Microsoft.Windows.CertificateServices.CARole.6.2.CertSvcEvents.48 (Rule)

无法检查吊销

Knowledge Base article:

摘要

链或路径验证流程的作用是分层次处理最终实体(用户或计算机)证书和所有证书颁发机构 (CA) 证书,直到证书链在一个受信任的自签名证书处终止为止。通常该证书是一个根 CA 证书。如果 CA 证书的可用性、有效性和链验证出现问题,则 Active Directory 证书服务 (AD CS) 可能会启动失败。

解决方案

请加载并确认有效的 CA 证书和链

您需要确认有效的证书颁发机构 (CA) 证书是可以访问的,以便进行证书链验证。通过确认以下内容可以解决与查找有效 CA 证书相关的问题:

要执行这些过程,您必须拥有管理 CA 权限,或者您必须被委派了适当的权限。

请确认托管 CA 的计算机上存在有效的 CA 证书

要确认托管 CA 的计算机上存在可用的有效 CA 证书,请执行以下操作:

请确认 AIA 容器中存在有效的 CA 证书

要确认 AIA 容器中是否存在有效 CA 证书,请执行以下操作:

验证 CA 证书链

要验证 CA 证书链,请执行以下操作:

检查和发布 CRL

要检查并在需要时发布新的 CRL,请执行以下操作:

要生成新的基本和增量 CRL,请执行以下操作:

要使用 Certutil 命令行工具创建 CRL,请执行以下操作:

要使用 Certutil 命令行工具将 CRL 发布到 AD DS,请执行以下操作:

用 CRL 文件的名称替换 crlname.crl,并用 CA 名称和运行 CA 的主机的名称替换您的 CA 名称和 CA 主机名,然后用您的 Active Directory 域的命名空间替换 contoso 和 com。

其他

要确认证书颁发机构 (CA) 证书和链是否有效,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.CertificateServices.CARole.6.2
CategoryEventCollection
EnabledTrue
Event_ID48
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.48" 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">48</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="AlertMessageIDd13dac2d6ac94865acec24b7e96ddef5"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>