憑證機構(CA)憑證之名稱限制(Name Constraints)
CA Certificate Name Constraints
If present, the Name Constraints extension MUST be encoded as follows. As an explicit exception from RFC 5280, this extension SHOULD be marked critical, but MAY be marked non-critical if compatibility with certain legacy applications that do not support Name Constraints is necessary.
若存在,名稱限制(Name Constraints)擴充欄位應(MUST)依下列方式編碼。作為 RFC 5280 之明確例外,本擴充欄位宜(SHOULD)標記為關鍵(critical),但若需與某些不支援名稱限制之舊版應用程式相容,得(MAY)標記為非關鍵(non-critical)。
nameConstraintsrequirementsField Description permittedSubtreesGeneralSubtreeThe requirements for a GeneralSubtreethat appears within apermittedSubtrees.baseSee following table. minimumMUST NOT be present. maximumMUST NOT be present. excludedSubtreesGeneralSubtreeThe requirements for a GeneralSubtreethat appears within apermittedSubtrees.baseSee following table. minimumMUST NOT be present. maximumMUST NOT be present.
| 欄位 | 說明 |
|---|---|
permittedSubtrees | |
GeneralSubtree | 符合 permittedSubtrees 中各 GeneralSubtree 之要求規定 |
base | 參見下表 |
minimum | 不得(MUST NOT)存在 |
maximum | 不得(MUST NOT)存在 |
excludedSubtrees | |
GeneralSubtree | 符合 permittedSubtrees 中各 GeneralSubtree 之要求規定 |
base | 參見下表 |
minimum | 不得(MUST NOT)存在 |
maximum | 不得(MUST NOT)存在 |
The following table contains the requirements for the
GeneralNamethat appears within thebaseof aGeneralSubtreein either thepermittedSubtreesorexcludedSubtrees.
下表列出 permittedSubtrees 或 excludedSubtrees 中各 GeneralSubtree 之 base 所包含的 GeneralName 要求規定。
GeneralNamerequirements for thebasefieldName Type Presence Permitted Subtrees Excluded Subtrees dNSNameMAY The CA MUST confirm that the Applicant has registered the dNSNameor has been authorized by the domain registrant to act on the registrant’s behalf. See Section 3.2.2.4.If at least one dNSNameinstance is present in thepermittedSubtrees, the CA MAY indicate one or more subordinate domains to be excluded.iPAddressMAY The CA MUST confirm that the Applicant has been assigned the iPAddressrange or has been authorized by the assigner to act on the assignee’s behalf. See Section 3.2.2.5.If at least one iPAddressinstance is present in thepermittedSubtrees, the CA MAY indicate one or more subdivisions of those ranges to be excluded.directoryNameMAY The CA MUST confirm the Applicant’s and/or Subsidiary’s name attributes such that all certificates issued will comply with the relevant Certificate Profile (see Section 7.1.2), including Name Forms (See Section 7.1.4). It is NOT RECOMMENDED to include values within excludedSubtrees.rfc822NameNOT RECOMMENDED The CA MAY constrain to a mailbox, a particular host, or any address within a domain, as specified within RFC 5280, Section 4.2.1.10. For each host, domain, or Domain portion of a Mailbox (as specified within RFC 5280, Section 4.2.1.6), the CA MUST confirm that the Applicant has registered the domain or has been authorized by the domain registrant to act on the registrant’s behalf. See Section 3.2.2.4. If at least one rfc822Nameinstance is present in thepermittedSubtrees, the CA MAY indicate one or more mailboxes, hosts, or domains to be excluded.otherNameNOT RECOMMENDED See below See below Any other value NOT RECOMMENDED - -
GeneralName 名稱類型 | 必要性 | permittedSubtrees | excludedSubtrees |
|---|---|---|---|
dNSName | 得(MAY) | CA 應(MUST)確認申請者已註冊該 dNSName,或已獲網域名稱註冊人授權代表該註冊人行事。參見第 3.2.2.4 節。 | 若 permittedSubtrees 中至少存在一個 dNSName,CA 得(MAY)於 excludedSubtrees 指定 dNSName 網域之一個或多個子網域名稱作為欲排除項目。 |
iPAddress | 得(MAY) | CA 應(MUST)確認申請者已被指配該 iPAddress 範圍,或已獲 IP 位址分配者(assigner)授權代表被指配者(assignee)行事。參見第 3.2.2.5 節。 | 若 permittedSubtrees 中至少存在一個 iPAddress,CA 得(MAY)於 excludedSubtrees 指定該等 iPAddress 範圍內之一個或多個子網段作為欲排除項目。 |
directoryName | 得(MAY) | CA 應(MUST)確認申請者及/或其子公司之名稱屬性,以確保所有簽發之憑證均遵循相關憑證剖繪(參見第 7.1.2 節),包括名稱形式(參見第 7.1.4 節)之要求。 | 不建議(NOT RECOMMENDED)於 excludedSubtrees 中包含任何值。 |
rfc822Name | 不建議(NOT RECOMMENDED) | CA 得(MAY)將其限制為信箱、特定主機或網域內之任何網址,如 RFC 5280 第 4.2.1.10 節所規定。對於每個主機、網域或信箱之網域部分(如 RFC 5280 第 4.2.1.6 節所規定),CA 應(MUST)確認申請者已註冊該網域,或已獲網域名稱註冊人授權代表該註冊人行事。參見第 3.2.2.4 節。 | 若 permittedSubtrees 中至少存在一個 rfc822Name,CA 得(MAY)於 excludedSubtrees 指定一個或多個信箱、主機或網域作為欲排除項目。 |
otherName | 不建議(NOT RECOMMENDED) | 參見下文 | 參見下文 |
| 任何其他值 | 不建議(NOT RECOMMENDED) | - | - |
Any
otherName, if present:
任何 otherName,若存在:
- MUST apply in the context of the public Internet, unless:
- the
type-idfalls within an OID arc for which the Applicant demonstrates ownership, or,- the Applicant can otherwise demonstrate the right to assert the data in a public context.
- MUST NOT include semantics that will mislead the Relying Party about certificate information verified by the CA.
- MUST be DER encoded according to the relevant ASN.1 module defining the
otherNametype-idandvalue.
- 應(MUST)適用於公共網際網路,除非:
type-id位於申請者能證明擁有其所有權之 OID arc 範圍內,或- 申請者能以其他方式證明其有權於公共網際網路中聲明該資料。
- 不得(MUST NOT)具有可能使信賴憑證者對 CA 所驗證之憑證資訊產生誤解的含義。
- 應(MUST)依相關 ASN.1 模組中對該
otherName的type-id與value之定義,以 DER 進行編碼。
CAs SHALL NOT include additional names unless the CA is aware of a reason for including the data in the Certificate.
CA 不得(SHALL NOT)包含額外名稱(例如額外的 GeneralName),除非 CA 知悉有正當理由於憑證中包含該資料。