证书服务未启动。
证书颁发机构 (CA) 需要充足的系统资源和操作系统组件才能正常工作。如果服务器的内存或硬盘空间不足,或者操作系统组件不可用,则尝试启动 Active Directory 证书服务 (AD CS) 的操作可能会失败。
更正阻止 Active Directory 证书服务启动的常规问题
要执行这些过程,您必须拥有管理 CA 权限,或者您必须被委派了适当的权限。
修复阻止 Active Directory 证书服务启动的常规问题
要修复阻止 Active Directory 证书服务 (AD CS) 启动的常规问题,请执行以下操作:
在托管 CA 的计算机上,单击“开始”,指向“管理工具”,然后单击“服务”。
检查 AD CS 服务的状态。如果服务没有运行,请尝试重启服务,观察错误是否重现,或者是否会出现其他错误或警告。
重新启动计算机,然后再次尝试步骤 1 和 2。
检查事件日志消息,查找描述启动失败的特定原因的代码。如果没有,则请查看事件日志,查找此错误消息之前或之后的其他错误和警告,并更正这些错误。
如果问题仍然存在,导致错误重现,请通过以下过程创建 CA 调试日志,以获得更多信息。
创建 CA 调试日志
要创建 CA 调试日志,请执行以下步骤:
在托管 CA 的计算机上,单击“开始”,键入 cmd,然后按 ENTER。
键入 certutil -setreg ca\debug 0xffffffe3,然后按 ENTER。
使用证书颁发机构管理单元重新启动 CA。
重现问题。
如果问题仍存在,请与 Microsoft 客户服务和支持部门联系。
如果您需要联系 Microsoft 客户服务和支持部门,%windir%\certsrv.log 文件包含可能对您有用的高级诊断信息。
要确认 CA 服务是否可用,请执行以下操作:
在托管 CA 的计算机上,单击“开始”,键入 cmd ,然后按 ENTER。
键入 certutil -config <CAconfig> -ping ,然后按 ENTER。
CAconfig 是 CA 配置字符串,位于 CA 主机名\CA 名称表单中。
Target | Microsoft.Windows.CertificateServices.CARole.6.3 | ||
Category | EventCollection | ||
Enabled | True | ||
Event_ID | 63 | ||
Event Source | Microsoft-Windows-CertificationAuthority | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | High | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Application |
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 |
<Rule ID="Microsoft.Windows.CertificateServices.CARole.6.3.CertSvcEvents.63" Enabled="onEssentialMonitoring" Target="CSDisc!Microsoft.Windows.CertificateServices.CARole.6.3" 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">63</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="AlertMessageIDb3ee1df594514fb0a9c9bbef46e0c374"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>