Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

220 lines
7.4 KiB

  1. [Version]
  2. Signature= "$Windows NT$"
  3. ; ===========================================================
  4. ; Request Attributes
  5. ; top level section
  6. ; ===========================================================
  7. [RequestAttributes]
  8. AttributeName1 = AttributeValue1
  9. AttributeName2 = AttributeValue2
  10. ; ===========================================================
  11. ; NameConstraintsExcluded Name Constraints Extension
  12. ; szOID_NAME_CONSTRAINTS 2.5.29.30
  13. ; top level section
  14. ; ===========================================================
  15. [NameConstraintsExtension]
  16. Include = NameConstraintsPermitted
  17. Exclude = NameConstraintsExcluded
  18. Critical = FaLse
  19. [NameConstraintsPermitted]
  20. ; list of user defined permitted DNS names
  21. ; the numeric second and third arguments are optional
  22. ; when present, the second argument is the minimum depth
  23. ; when present, the third argument is the maximum depth
  24. ; NOTE: Crypto APIs fail to process cert chains when the minimum or maximum
  25. ; depth is specified!
  26. DNS = [email protected]
  27. DNS = domain1.domain.com
  28. email=[email protected]
  29. UPN=[email protected]
  30. ; the first is an IP address, the second is an IP address mask
  31. IPADDRESS=255.255.18.172,255.255.255.0
  32. ipaddress=::255.255.18.172,::255.255.255.0
  33. ipaddress=1234:5678:9abc:def0:3210:7654:ba98:fedc,1234:5678:9abc:def0:3210:7654:ba98:fedc
  34. ipaddress=::5678:9abc:def0:3210:7654:ba98:fedc,1234:5678:9abc:def0:3210:7654:ba98:fedc
  35. ipaddress=1234::def0:3210:7654:ba98:fedc,1234:5678:9abc:def0:3210:7654:ba98:fedc
  36. ipaddress=1234:5678:9abc:def0:3210:7654:ba98::,1234:5678:9abc:def0:3210:7654:ba98:fedc
  37. ipaddress=1234:5678:9abc:def0:3210:7654::,1234:5678:9abc:def0:3210:7654:ba98:fedc
  38. OtherName=1.2.3.4.99.100,{utf8}ssss
  39. OtherName=1.2.3.4.99.101,{octet}ABCD
  40. OtherName=1.2.3.4.99.102,"{asn}BAgAAQIDBAUGBw=="
  41. OtherName=1.2.3.4.99.108
  42. RegisteredId=1.2.3.4.5.6.7.8.999
  43. url=http://localhost/certsrv/default.html
  44. url=file://\\localhost\certsrv\default.html
  45. DIRECTORYNAME = "cn=mycn,ou=myou,s=mystate,c=us"
  46. [NameConstraintsExcluded]
  47. ; list of user defined excluded DNS names
  48. DNS = domain.com
  49. IPADDRESS=255.255.18.172,255.255.255.0
  50. IPADDRESS=1.2.3.4,255.254.253.0
  51. ; ===========================================================
  52. ; Policy (CPS) Extension
  53. ; szOID_CERT_POLICIES 2.5.29.32
  54. ; top level section
  55. ; ===========================================================
  56. [PolicyStatementExtension]
  57. ; list of user defined policies
  58. Policies = LegalPolicy, LimitedUsePolicy, ExtraPolicy, OIDPolicy
  59. CRITICAL = FALSE
  60. [LegalPolicy]
  61. ; each policy has one OID, and zero or more Notice and URL keys
  62. OID = 1.3.6.1.4.1.311.21.43
  63. ; Stay away from the maximum line length of about 512 characters,
  64. ; including the "Notice = "
  65. ; Notice text may be continued as needed:
  66. Notice = "Legal"
  67. _continue_ = " policy"
  68. _continue_ = " statement"
  69. _continue_ = " text."
  70. [LimitedUsePolicy]
  71. OID = 1.3.6.1.4.1.311.21.47
  72. URL = "http://http.site.com/some where/default.asp"
  73. URL = "ftp://ftp.site.com/some where else/default.asp"
  74. Notice = "Limited use policy statement text."
  75. URL = "ldap://ldap.site.com/some where else again/default.asp"
  76. [ExtraPolicy]
  77. OID = 1.3.6.1.4.1.311.21.53
  78. URL = http://extra.site.com/Extra Policy/default.asp
  79. [oidpolicy]
  80. OID = 1.3.6.1.4.1.311.21.55
  81. ; ===========================================================
  82. ; Policy Mapping Extension
  83. ; szOID_POLICY_MAPPINGS 2.5.29.33
  84. ; top level section
  85. ; ===========================================================
  86. [PolicyMappingsExtension]
  87. ; list of user defined policy mappings
  88. ; first OID is Issuer Domain Policy OID, second is Subject Domain Policy OID
  89. ; each entry maps one foreign policy OID to local
  90. 1.3.6.1.4.1.311.21.53 = 1.2.3.4.87
  91. 1.3.6.1.4.1.311.21.54 = 1.2.3.4.89
  92. critical = nO
  93. ; ===========================================================
  94. ; Policy Constraints Extension
  95. ; szOID_POLICY_CONSTRAINTS 2.5.29.36
  96. ; top level section
  97. ; ===========================================================
  98. [PolicyConstraintsExtension]
  99. ; consists of two optional DWORDs
  100. ; They refer to the depth of the CA hierarchy that requires explicit policy
  101. ; and inhibits Policy Mapping
  102. RequireExplicitPolicy = 3
  103. InhibitPolicyMapping = 5
  104. ; ===========================================================
  105. ; Application Policy (CPS) Extension
  106. ; szOID_APPLICATION_CERT_POLICIES 1.3.6.1.4.1.311.21.10
  107. ; top level section
  108. ; ===========================================================
  109. [ApplicationPolicyStatementExtension]
  110. ; list of user defined policies
  111. Policies = AppLegalPolicy, AppLimitedUsePolicy, AppExtraPolicy, AppOIDPolicy
  112. CRITICAL = FALSE
  113. [AppLegalPolicy]
  114. ; each policy has one OID, and zero or more Notice and URL keys
  115. OID = 1.3.6.1.4.1.311.21.54
  116. Notice = "Application Legal policy statement text"
  117. [AppLimitedUsePolicy]
  118. OID = 1.3.6.1.4.1.311.21.58
  119. URL = "http://http.site.com/application some where/default.asp"
  120. URL = "ftp://ftp.site.com/application some where else/default.asp"
  121. Notice = "Application Limited use policy statement text."
  122. URL = "ldap://ldap.site.com/application some where else again/default.asp"
  123. [AppExtraPolicy]
  124. OID = 1.3.6.1.4.1.311.21.64
  125. URL = http://extra.site.com/Application Extra Policy/default.asp
  126. [Appoidpolicy]
  127. OID = 1.3.6.1.4.1.311.21.66
  128. ; ===========================================================
  129. ; Application Policy Mapping Extension
  130. ; szOID_APPLICATION_POLICY_MAPPINGS 1.3.6.1.4.1.311.21.11
  131. ; top level section
  132. ; ===========================================================
  133. [ApplicationPolicyMappingsExtension]
  134. ; list of user defined application policy mappings
  135. ; first OID is Issuer Domain Policy OID, second is Subject Domain Policy OID
  136. ; each entry maps one foreign policy OID to local
  137. 1.3.6.1.4.1.311.21.64 = 1.2.3.4.98
  138. 1.3.6.1.4.1.311.21.65 = 1.2.3.4.100
  139. critical = 0
  140. ; ===========================================================
  141. ; Application Policy Constraints Extension
  142. ; szOID_APPLICATION_POLICY_CONSTRAINTS 1.3.6.1.4.1.311.21.12
  143. ; top level section
  144. ; ===========================================================
  145. [ApplicationPolicyConstraintsExtension]
  146. ; consists of two optional DWORDs
  147. ; They refer to the depth of the CA hierarchy that requires explicit policy
  148. ; and inhibits Policy Mapping
  149. RequireExplicitPolicy = 6
  150. InhibitPolicyMapping = 10
  151. ; ===========================================================
  152. ; Basic Constraints Extension
  153. ; szOID_BASIC_CONSTRAINTS2 2.5.29.19
  154. ; top level section
  155. ; ===========================================================
  156. [BasicConstraintsExtension]
  157. ; Subject Type is not supported always set to CA
  158. ; maximum subordinate CA path length
  159. PathLength = 3
  160. [EnhancedKeyUsageExtension]
  161. ;OID = 1.3.6.1.4.1.311.21.6 ; szOID_KP_KEY_RECOVERY_AGENT
  162. ;OID = 1.3.6.1.4.1.311.10.3.9 ; szOID_ROOT_LIST_SIGNER
  163. ;OID = 1.3.6.1.4.1.311.10.3.1 ; szOID_KP_CTL_USAGE_SIGNING
  164. ; The following match the [ApplicationPolicyStatementExtension] section:
  165. OID = 1.3.6.1.4.1.311.21.54
  166. OID = 1.3.6.1.4.1.311.21.58
  167. OID = 1.3.6.1.4.1.311.21.64
  168. OID = 1.3.6.1.4.1.311.21.66
  169. CriticAL = faLSe
  170. ; ===========================================================
  171. ; Cross Certificate Distribution Points Extension
  172. ; szOID_CROSS_CERT_DIST_POINTS 1.3.6.1.4.1.311.10.9.1
  173. ; top level section
  174. ; ===========================================================
  175. [CrossCertificateDistributionPointsExtension]
  176. SyncDeltaTime = 24
  177. URL = http://%1/Public/My CA.crt
  178. URL = ftp://foo.com/Public/MyCA.crt
  179. URL = file://\\%1\Public\My CA.crt
  180. CriticAL = falSe