来自第三方 CA 的域控制器证书的要求

本文介绍从第三方证书颁发机构颁发域控制器证书所需的要求, (CA) 。

适用于: Windows Server 2012 R2
原始 KB 编号: 291010

摘要

有关来自第三方 CA 的 Windows Server 2008 R2 域控制器证书的要求的详细信息,请参阅 第三方 CA 中 Windows Server 2008 R2 域控制器证书的更新要求

支持

  • 目前,Microsoft 支持仅使用智能卡登录的第三方域控制器证书。
  • 目前,Microsoft 不支持使用来自第三方 CA 的证书来支持 SMTP (简单邮件传输协议) 域控制器之间的复制。
  • 第三方 CA 不支持域控制器或计算机证书的自动注册和续订。

要求

  • 可以手动向域控制器颁发证书。 域控制器的证书必须满足以下特定格式要求:
    • 证书必须具有指向有效证书吊销列表 (CRL) 的 CRL 分发点扩展。

    • (可选)“证书使用者”部分应包含服务器对象的目录路径 (可分辨名称) ,例如:
      CN=server1.northwindtraders.com OU=域控制器 DC=northwwind traders DC=com

    • 证书密钥用法部分必须包含:
      数字签名、密钥加密

    • (可选)证书“基本约束”部分应包含:
      [Subject Type=End Entity, Path Length Constraint=None]

    • 证书增强型密钥用法部分必须包含:

      • 客户端身份验证 (1.3.6.1.5.5.7.3.2)
      • Server 身份验证 (1.3.6.1.5.5.7.3.1)
    • 证书使用者可选名称部分必须包含域名系统 (DNS) 名称。 如果使用 SMTP 复制,则证书“使用者可选名称”部分还必须包含目录中域控制器对象的全局唯一标识符 (GUID) 。 例如:
      其他名称:1.3.6.1.4.1.311.25.1 = ac 4b 29 06 aa d6 5d 4f a9 9c 4c bc b0 6a 65 d9 DNS Name=server1.northwindtraders.com

      • 证书模板必须具有具有基本代谢面板的扩展, (BMP) 数据值 DomainController

        注意

        如果没有这些扩展之一, dsstore.exe -dcmon 命令无法识别证书。

      • 必须使用 Schannel 加密服务提供程序 (CSP) 来生成密钥。

  • 域控制器证书必须安装在本地计算机的证书存储中。

示例证书

X509 Certificate:
Version: 3
Serial Number: 61497f5e000000000006
Signature Algorithm:
    Algorithm ObjectId: 1.2.840.113549.1.1.5  sha1RSA
    Algorithm Parameters:
    05 00                                              ..
Issuer:
    CN=TestCA
    DC=northwindtraders
    DC=com

NotBefore: 2/12/2001 3:57 PM
NotAfter: 7/10/2001 10:24 AM

Subject:
    CN=TEST-DC1
    OU=Domain Controllers
    DC=northwindtraders
    DC=com

Public Key Algorithm:
    Algorithm ObjectId: 1.2.840.113549.1.1.1  RSA
    Algorithm Parameters:
    05 00                                              ..
Public Key Length: 1024 bits
Public Key: UnusedBits = 0
    0000  30 81 89 02 81 81 00 b1  c8 84 ce ea 5c da 96 23
    0010  4b d5 07 d7 27 f3 76 1f  d3 0f 23 3f 8b fa 8b 68
    0020  34 09 47 4a f5 33 41 77  86 d2 d3 a7 34 19 5c 49
    0030  43 bf 5a 3c 25 a3 77 69  54 ad 84 af 20 b2 c2 f6
    0040  40 f7 82 7f b9 b0 db cb  db 76 7c 13 54 8e 3b 5e
    0050  9e 92 a2 42 8d 97 db 07  06 cc 5d 7a 95 9f 7f 8b
    0060  c1 69 7b 0a 6a e7 8f fa  6b c4 60 23 d4 03 88 45
    0070  83 61 2e b2 af a2 f9 69  e2 84 d9 95 01 c4 88 eb
    0080  89 16 5a 4d a4 34 27 02  03 01 00 01
Certificate Extensions: 9
    1.2.840.113549.1.9.15: Flags = 0, Length = 37
    SMIME Capabilities
        [1]SMIME Capability
             Object ID=1.2.840.113549.3.2
             Parameters=02 02 00 80
        [2]SMIME Capability
             Object ID=1.2.840.113549.3.4
             Parameters=02 02 00 80
        [3]SMIME Capability
             Object ID=1.3.14.3.2.7
        [4]SMIME Capability
             Object ID=1.2.840.113549.3.7

    2.5.29.15: Flags = 0, Length = 4
    Key Usage
        Digital Signature, Key Encipherment (a0)

    2.5.29.37: Flags = 0, Length = 16
    Enhanced Key Usage
        Client Authentication (1.3.6.1.5.5.7.3.2)
        Server Authentication (1.3.6.1.5.5.7.3.1)

    1.3.6.1.4.1.311.20.2: Flags = 0, Length = 22
    Certificate Template Name
        DomainController

    2.5.29.14: Flags = 0, Length = 16
    Subject Key Identifier
        a8 20 ce 65 63 3e cd a1 c8 77 97 44 fa 28 43 71 17 e3 6e 84

    2.5.29.35: Flags = 0, Length = 18
    Authority Key Identifier
        KeyID=44 b8 25 f8 d9 53 c5 96 e1 8c 14 d5 e4 5e 33 3a fc 22 7b e7

    2.5.29.31: Flags = 0, Length = f8
    CRL Distribution Points
        [1]CRL Distribution Point
             Distribution Point Name:
                  Full Name:
                       URL=http://test-dc1.northwindtraders.com/CertEnroll/TestCA.crl
                       URL=ldap:///CN=TestCA,CN=test-dc1,CN=CDP,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=northwindtraders,DC=com?certificateRevocationList?base?objectClass=cRLDistributionPoint

    1.3.6.1.5.5.7.1.1: Flags = 0, Length = 10a
    Authority Information Access
        [1]Authority Info Access
             Access Method=Certification Authority Issuer (1.3.6.1.5.5.7.48.2)
             Alternative Name:
                  URL=http://test-dc1.northwindtraders.com/CertEnroll/test-dc1.northwindtraders.com_TestCA.crt
        [2]Authority Info Access
             Access Method=Certification Authority Issuer (1.3.6.1.5.5.7.48.2)
             Alternative Name:
                  URL=ldap:///CN=TestCA,CN=AIA,CN=Public%20Key%20Services,CN=Services,CN=Configuration,DC=northwindtraders,DC=com?cACertificate?base?objectClass=certificationAuthority

    2.5.29.17: Flags = 0, Length = 3d
    Subject Alternative Name
        Other Name:
             1.3.6.1.4.1.311.25.1=04 10 96 8e ea d7 ee ba bc 42 81 db 4f 92 f5 88 db 4a
        DNS Name=test-dc1.northwindtraders.com

Signature Algorithm:
    Algorithm ObjectId: 1.2.840.113549.1.1.5  sha1RSA
    Algorithm Parameters:
    05 00

如何确定域控制器 GUID

启动 Ldp.exe 并找到域命名上下文。 双击要查看的域控制器的名称。 该对象的属性列表包含“Object GUID”,后跟一长号。 数字是该对象的 GUID。