[要約] RFC 6125は、TLS環境下でX.509証明書を用いてドメインベースのアプリケーションサービスを認証するための、識別子の表現と検証手順を規定しています。従来のCommon Name(CN)に代わり、subjectAltName(dNSNameやSRVNameなど)を用いた一貫性のある検証方法を推奨しています。ウェブやメール等の様々なサービスにおいて、中間者攻撃を防ぎ安全な通信を確立するための標準的な指針を提供します。

Internet Engineering Task Force (IETF)                    P. Saint-Andre
Request for Comments: 6125                                         Cisco
Category: Standards Track                                      J. Hodges
ISSN: 2070-1721                                                   PayPal
                                                              March 2011
        

Representation and Verification of Domain-Based Application Service Identity within Internet Public Key Infrastructure Using X.509 (PKIX) Certificates in the Context of Transport Layer Security (TLS)

Transport Layer Security (TLS) の文脈で X.509 を使用するインターネット公開鍵基盤 (PKIX) 証明書におけるドメインベースのアプリケーションサービスアイデンティティの表現と検証

Abstract

概要

Many application technologies enable secure communication between two entities by means of Internet Public Key Infrastructure Using X.509 (PKIX) certificates in the context of Transport Layer Security (TLS). This document specifies procedures for representing and verifying the identity of application services in such interactions.

多くのアプリケーション技術は、Transport Layer Security (TLS) の文脈で X.509 を使用するインターネット公開鍵基盤 (PKIX) 証明書を用いて、2つのエンティティ間の安全な通信を実現しています。本文書は、そのようなやり取りにおいてアプリケーションサービスのアイデンティティを表現し検証するための手順を規定します。

Status of This Memo

本文書の状態

This is an Internet Standards Track document.

これはインターネット標準化過程の文書です。

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 5741.

本文書は Internet Engineering Task Force (IETF) の成果物です。本文書は IETF コミュニティの合意を表しています。本文書は公開レビューを経て、Internet Engineering Steering Group (IESG) によって発行が承認されました。インターネット標準の詳細については RFC 5741 のセクション2を参照してください。

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc6125.

本文書の現在の状態、正誤表、およびフィードバックの提供方法に関する情報は、http://www.rfc-editor.org/info/rfc6125 で入手できます。

Copyright Notice

著作権表示

Copyright (c) 2011 IETF Trust and the persons identified as the document authors. All rights reserved.

Copyright (c) 2011 IETF Trust および文書の著者として特定された人物。無断転載を禁じます。

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

本文書は、本文書の発行日に有効な BCP 78 および IETF 文書に関する IETF Trust の法的規定 (http://trustee.ietf.org/license-info) に従います。これらの文書には本文書に関するあなたの権利と制限が記載されているため、注意深く確認してください。本文書から抽出されたコードコンポーネントには、Trust の法的規定の Section 4.e に記載されている Simplified BSD License のテキストを含めなければならず、Simplified BSD License に記載されているとおり無保証で提供されます。

Table of Contents

目次

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
   1.  はじめに .......................................................3
     1.1.  Motivation . . . . . . . . . . . . . . . . . . . . . . . .  3
     1.1.  動機 .......................................................3
     1.2.  Audience . . . . . . . . . . . . . . . . . . . . . . . . .  4
     1.2.  対象読者 ...................................................4
     1.3.  How to Read This Document  . . . . . . . . . . . . . . . .  4
     1.3.  本文書の読み方 .............................................4
     1.4.  Applicability  . . . . . . . . . . . . . . . . . . . . . .  5
     1.4.  適用性 .....................................................5
     1.5.  Overview of Recommendations  . . . . . . . . . . . . . . .  5
     1.5.  推奨事項の概要 .............................................5
     1.6.  Generalization from Current Technologies . . . . . . . . .  6
     1.6.  現在の技術からの一般化 .....................................6
     1.7.  Scope  . . . . . . . . . . . . . . . . . . . . . . . . . .  7
     1.7.  適用範囲 ...................................................7
       1.7.1.  In Scope . . . . . . . . . . . . . . . . . . . . . . .  7
       1.7.1.  適用範囲内 .............................................7
       1.7.2.  Out of Scope . . . . . . . . . . . . . . . . . . . . .  7
       1.7.2.  適用範囲外 .............................................7
     1.8.  Terminology  . . . . . . . . . . . . . . . . . . . . . . .  9
     1.8.  用語 .......................................................9
   2.  Naming of Application Services . . . . . . . . . . . . . . . . 13
   2.  アプリケーションサービスの命名 ................................13
     2.1.  Naming Application Services  . . . . . . . . . . . . . . . 13
     2.1.  アプリケーションサービスの命名 ............................13
     2.2.  DNS Domain Names . . . . . . . . . . . . . . . . . . . . . 14
     2.2.  DNSドメイン名 .............................................14
     2.3.  Subject Naming in PKIX Certificates  . . . . . . . . . . . 15
     2.3.  PKIX 証明書におけるサブジェクトの命名 .....................15
       2.3.1.  Implementation Notes . . . . . . . . . . . . . . . . . 17
       2.3.1.  実装上の注意 ..........................................17
   3.  Designing Application Protocols  . . . . . . . . . . . . . . . 18
   3.  アプリケーションプロトコルの設計 ..............................18
   4.  Representing Server Identity . . . . . . . . . . . . . . . . . 18
   4.  サーバーアイデンティティの表現 ................................18
     4.1.  Rules  . . . . . . . . . . . . . . . . . . . . . . . . . . 18
     4.1.  規則 ......................................................18
     4.2.  Examples . . . . . . . . . . . . . . . . . . . . . . . . . 20
     4.2.  例 ........................................................20
   5.  Requesting Server Certificates . . . . . . . . . . . . . . . . 21
   5.  サーバー証明書の要求 ..........................................21
   6.  Verifying Service Identity . . . . . . . . . . . . . . . . . . 21
   6.  サービスアイデンティティの検証 ................................21
     6.1.  Overview . . . . . . . . . . . . . . . . . . . . . . . . . 21
     6.1.  概要 ......................................................21
     6.2.  Constructing a List of Reference Identifiers . . . . . . . 22
     6.2.  参照識別子のリストの構成 ..................................22
       6.2.1.  Rules  . . . . . . . . . . . . . . . . . . . . . . . . 22
       6.2.1.  規則 ..................................................22
       6.2.2.  Examples . . . . . . . . . . . . . . . . . . . . . . . 24
       6.2.2.  例 ....................................................24
     6.3.  Preparing to Seek a Match  . . . . . . . . . . . . . . . . 25
     6.3.  照合の準備 ................................................25
     6.4.  Matching the DNS Domain Name Portion . . . . . . . . . . . 26
     6.4.  DNSドメイン名部分の照合 ...................................26
       6.4.1.  Checking of Traditional Domain Names . . . . . . . . . 27
       6.4.1.  従来のドメイン名の確認 ................................27
       6.4.2.  Checking of Internationalized Domain Names . . . . . . 27
       6.4.2.  国際化ドメイン名の確認 ................................27
       6.4.3.  Checking of Wildcard Certificates  . . . . . . . . . . 27
       6.4.3.  ワイルドカード証明書の確認 ............................27
       6.4.4.  Checking of Common Names . . . . . . . . . . . . . . . 28
       6.4.4.  コモンネームの確認 ....................................28
     6.5.  Matching the Application Service Type Portion  . . . . . . 28
     6.5.  アプリケーションサービスタイプ部分の照合 ..................28
       6.5.1.  SRV-ID . . . . . . . . . . . . . . . . . . . . . . . . 29
       6.5.1.  SRV-ID ................................................29
       6.5.2.  URI-ID . . . . . . . . . . . . . . . . . . . . . . . . 29
       6.5.2.  URI-ID ................................................29
     6.6.  Outcome  . . . . . . . . . . . . . . . . . . . . . . . . . 29
     6.6.  結果 ......................................................29
       6.6.1.  Case #1: Match Found . . . . . . . . . . . . . . . . . 29
       6.6.1.  場合1:一致が見つかった場合 ...........................29
       6.6.2.  Case #2: No Match Found, Pinned Certificate  . . . . . 29
       6.6.2.  場合2:一致が見つからず、ピン留めされた証明書がある場合 ..29
       6.6.3.  Case #3: No Match Found, No Pinned Certificate . . . . 30
       6.6.3.  場合3:一致が見つからず、ピン留めされた証明書もない場合 ..30
       6.6.4.  Fallback . . . . . . . . . . . . . . . . . . . . . . . 30
       6.6.4.  フォールバック ........................................30
   7.  Security Considerations  . . . . . . . . . . . . . . . . . . . 30
   7.  セキュリティに関する考慮事項 ..................................30
     7.1.  Pinned Certificates  . . . . . . . . . . . . . . . . . . . 30
     7.1.  ピン留めされた証明書 ......................................30
     7.2.  Wildcard Certificates  . . . . . . . . . . . . . . . . . . 31
     7.2.  ワイルドカード証明書 ......................................31
     7.3.  Internationalized Domain Names . . . . . . . . . . . . . . 32
     7.3.  国際化ドメイン名 ..........................................32
     7.4.  Multiple Identifiers . . . . . . . . . . . . . . . . . . . 32
     7.4.  複数の識別子 ..............................................32
   8.  Contributors . . . . . . . . . . . . . . . . . . . . . . . . . 33
   8.  貢献者 ........................................................33
   9.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 33
   9.  謝辞 ..........................................................33
   10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 34
   10. 参考文献 ......................................................34
     10.1. Normative References . . . . . . . . . . . . . . . . . . . 34
     10.1. 引用文献 ..................................................34
     10.2. Informative References . . . . . . . . . . . . . . . . . . 34
     10.2. 参考引用 ..................................................34
   Appendix A.  Sample Text . . . . . . . . . . . . . . . . . . . . . 40
   Appendix A.  サンプルテキスト .....................................40
   Appendix B.  Prior Art . . . . . . . . . . . . . . . . . . . . . . 42
   Appendix B.  先行技術 .............................................42
     B.1.  IMAP, POP3, and ACAP (1999)  . . . . . . . . . . . . . . . 42
     B.1.  IMAP、POP3、およびACAP(1999年) ..........................42
     B.2.  HTTP (2000)  . . . . . . . . . . . . . . . . . . . . . . . 43
     B.2.  HTTP(2000年) ............................................43
     B.3.  LDAP (2000/2006) . . . . . . . . . . . . . . . . . . . . . 44
     B.3.  LDAP(2000年/2006年) .....................................44
     B.4.  SMTP (2002/2007) . . . . . . . . . . . . . . . . . . . . . 47
     B.4.  SMTP(2002年/2007年) .....................................47
     B.5.  XMPP (2004)  . . . . . . . . . . . . . . . . . . . . . . . 49
     B.5.  XMPP(2004年) ............................................49
     B.6.  NNTP (2006)  . . . . . . . . . . . . . . . . . . . . . . . 50
     B.6.  NNTP(2006年) ............................................50
     B.7.  NETCONF (2006/2009)  . . . . . . . . . . . . . . . . . . . 51
     B.7.  NETCONF(2006年/2009年) ..................................51
     B.8.  Syslog (2009)  . . . . . . . . . . . . . . . . . . . . . . 52
     B.8.  Syslog(2009年) ..........................................52
     B.9.  SIP (2010) . . . . . . . . . . . . . . . . . . . . . . . . 54
     B.9.  SIP(2010年) .............................................54
     B.10. SNMP (2010)  . . . . . . . . . . . . . . . . . . . . . . . 55
     B.10. SNMP(2010年) ............................................55
     B.11. GIST (2010)  . . . . . . . . . . . . . . . . . . . . . . . 55
     B.11. GIST(2010年) ............................................55

1. Introduction

1. はじめに

1.1. Motivation

1.1. 動機

The visible face of the Internet largely consists of services that employ a client-server architecture in which an interactive or automated client communicates with an application service in order to retrieve or upload information, communicate with other entities, or access a broader network of services. When a client communicates with an application service using Transport Layer Security [TLS] or Datagram Transport Layer Security [DTLS], it references some notion of the server's identity (e.g., "the website at example.com") while attempting to establish secure communication. Likewise, during TLS negotiation, the server presents its notion of the service's identity in the form of a public-key certificate that was issued by a certification authority (CA) in the context of the Internet Public Key Infrastructure using X.509 [PKIX]. Informally, we can think of these identities as the client's "reference identity" and the server's "presented identity" (these rough ideas are defined more precisely later in this document through the concept of particular identifiers). In general, a client needs to verify that the server's presented identity matches its reference identity so it can authenticate the communication.

インターネットの目に見える部分の大半は、クライアントサーバーアーキテクチャを採用したサービスで構成されています。そこでは、対話型または自動化されたクライアントが、情報の取得やアップロード、他のエンティティとの通信、より広範なサービスネットワークへのアクセスのためにアプリケーションサービスと通信します。クライアントが Transport Layer Security [TLS] または Datagram Transport Layer Security [DTLS] を使用してアプリケーションサービスと通信する場合、クライアントは安全な通信を確立しようとする際に、サーバーのアイデンティティについての何らかの概念(例:「example.com のウェブサイト」)を参照します。同様に、TLS ネゴシエーションの間、サーバーは、X.509 を使用するインターネット公開鍵基盤 [PKIX] の文脈で認証局 (CA) によって発行された公開鍵証明書の形で、サービスのアイデンティティについての自身の概念を提示します。非公式には、これらのアイデンティティをクライアントの「参照アイデンティティ」およびサーバーの「提示アイデンティティ」と考えることができます(これらの大まかな概念は、本文書の後半で個別の識別子という概念を通じてより正確に定義します)。一般に、クライアントは通信を認証するために、サーバーの提示アイデンティティが自身の参照アイデンティティと一致することを検証する必要があります。

Many application technologies adhere to the pattern just outlined. Such protocols have traditionally specified their own rules for representing and verifying application service identity. Unfortunately, this divergence of approaches has caused some confusion among certification authorities, application developers, and protocol designers.

多くのアプリケーション技術は、ここで概説したパターンに従っています。そのようなプロトコルは、従来、アプリケーションサービスアイデンティティを表現し検証するための独自の規則をそれぞれ規定してきました。残念ながら、このようなアプローチの相違は、認証局、アプリケーション開発者、プロトコル設計者の間にいくらかの混乱を引き起こしてきました。

Therefore, to codify secure procedures for the implementation and deployment of PKIX-based authentication, this document specifies recommended procedures for representing and verifying application service identity in certificates intended for use in application protocols employing TLS.

そこで、PKIX ベースの認証の実装と展開のための安全な手順を成文化するために、本文書は、TLS を使用するアプリケーションプロトコルでの使用を意図した証明書において、アプリケーションサービスアイデンティティを表現し検証するための推奨手順を規定します。

1.2. Audience

1.2. 対象読者

The primary audience for this document consists of application protocol designers, who can reference this document instead of defining their own rules for the representation and verification of application service identity. Secondarily, the audience consists of certification authorities, service providers, and client developers from technology communities that might reuse the recommendations in this document when defining certificate issuance policies, generating certificate signing requests, or writing software algorithms for identity matching.

本文書の主な対象読者はアプリケーションプロトコル設計者です。設計者は、アプリケーションサービスアイデンティティの表現と検証について独自の規則を定義する代わりに、本文書を参照できます。副次的な対象読者は、さまざまな技術コミュニティの認証局、サービスプロバイダー、クライアント開発者です。これらの読者は、証明書発行ポリシーの定義、証明書署名要求の生成、アイデンティティ照合のソフトウェアアルゴリズムの作成の際に、本文書の推奨事項を再利用する可能性があります。

1.3. How to Read This Document

1.3. 本文書の読み方

This document is longer than the authors would have liked because it was necessary to carefully define terminology, explain the underlying concepts, define the scope, and specify recommended behavior for both certification authorities and application software implementations. The following sections are of special interest to various audiences:

本文書は著者らが望んでいたよりも長くなっています。用語を慎重に定義し、基礎となる概念を説明し、適用範囲を定義し、さらに認証局とアプリケーションソフトウェア実装の両方について推奨される動作を規定する必要があったためです。以下のセクションは、それぞれの読者にとって特に関心があるものです。

o Protocol designers might want to first read the checklist in Section 3.

o プロトコル設計者は、まずセクション3のチェックリストを読むとよいでしょう。

o Certification authorities might want to first read the recommendations for representation of server identity in Section 4.

o 認証局は、まずセクション4のサーバーアイデンティティの表現に関する推奨事項を読むとよいでしょう。

o Service providers might want to first read the recommendations for requesting of server certificates in Section 5.

o サービスプロバイダーは、まずセクション5のサーバー証明書の要求に関する推奨事項を読むとよいでしょう。

o Software implementers might want to first read the recommendations for verification of server identity in Section 6.

o ソフトウェア実装者は、まずセクション6のサーバーアイデンティティの検証に関する推奨事項を読むとよいでしょう。

The sections on terminology (Section 1.8), naming of application services (Section 2), document scope (Section 1.7), and the like provide useful background information regarding the recommendations and guidelines that are contained in the above-referenced sections, but are not absolutely necessary for a first reading of this document.

用語 (セクション1.8)、アプリケーションサービスの命名 (セクション2)、文書の適用範囲 (セクション1.7) などのセクションは、上記のセクションに含まれる推奨事項とガイドラインについて有用な背景情報を提供しますが、本文書を初めて読む際に必ずしも必要なものではありません。

1.4. Applicability

1.4. 適用性

This document does not supersede the rules for certificate issuance or validation provided in [PKIX]. Therefore, [PKIX] is authoritative on any point that might also be discussed in this document. Furthermore, [PKIX] also governs any certificate-related topic on which this document is silent, including but not limited to certificate syntax, certificate extensions such as name constraints and extended key usage, and handling of certification paths.

本文書は、[PKIX] で規定されている証明書の発行または検証の規則に取って代わるものではありません。したがって、本文書でも論じられている可能性のあるあらゆる点について、[PKIX] が正式な規定となります。さらに、証明書の構文、名前制約や拡張鍵用途などの証明書拡張、証明書パスの処理など(ただしこれらに限定されません)、本文書が言及していない証明書関連のあらゆる事項も [PKIX] が規定します。

This document addresses only name forms in the leaf "end entity" server certificate, not any name forms in the chain of certificates used to validate the server certificate. Therefore, in order to ensure proper authentication, application clients need to verify the entire certification path per [PKIX].

本文書は、末端の「エンドエンティティ」サーバー証明書における名前形式のみを扱い、サーバー証明書の検証に使用される証明書チェーン内の名前形式は扱いません。したがって、適切な認証を確実にするために、アプリケーションクライアントは [PKIX] に従って証明書パス全体を検証する必要があります。

This document also does not supersede the rules for verifying service identity provided in specifications for existing application protocols published prior to this document, such as those excerpted under Appendix B. However, the procedures described here can be referenced by future specifications, including updates to specifications for existing application protocols if the relevant technology communities agree to do so.

本書の公開より前に発行された既存のアプリケーションプロトコル仕様には、サービスの識別情報を検証する規則があり、その一部を付録 B に抜粋しています。本書は、それらの規則を置き換えるものでもありません。ただし、関連する技術コミュニティーが合意すれば、既存のアプリケーションプロトコルの改訂を含む将来の仕様で、本書の手順を参照できます。

1.5. Overview of Recommendations

1.5. 推奨事項の概要

To orient the reader, this section provides an informational overview of the recommendations contained in this document.

読者の見通しを良くするために、このセクションでは本文書に含まれる推奨事項の参考情報としての概要を示します。

For the primary audience of application protocol designers, this document provides recommended procedures for the representation and verification of application service identity within PKIX certificates used in the context of TLS.

主な対象読者であるアプリケーションプロトコル設計者に向けて、本文書は、TLS の文脈で使用される PKIX 証明書におけるアプリケーションサービスアイデンティティの表現と検証の推奨手順を提供します。

For the secondary audiences, in essence this document encourages certification authorities, application service providers, and application client developers to coalesce on the following practices:

副次的な対象読者に向けては、本文書は要するに、認証局、アプリケーションサービスプロバイダー、アプリケーションクライアント開発者が次の慣行に集約していくことを促します。

o Move away from including and checking strings that look like domain names in the subject's Common Name.

o サブジェクトのコモンネームに、ドメイン名のように見える文字列を含めたり確認したりすることをやめていく。

o Move toward including and checking DNS domain names via the subjectAlternativeName extension designed for that purpose: dNSName.

o その目的のために設計された subjectAlternativeName 拡張である dNSName を介して DNS ドメイン名を含めたり確認したりする方向に移行する。

o Move toward including and checking even more specific subjectAlternativeName extensions where appropriate for using the protocol (e.g., uniformResourceIdentifier and the otherName form SRVName).

o プロトコルの使用に適切な場合には、さらに具体的な subjectAlternativeName 拡張(例:uniformResourceIdentifier や otherName 形式の SRVName)を含めたり確認したりする方向に移行する。

o Move away from the issuance of so-called wildcard certificates (e.g., a certificate containing an identifier for "*.example.com").

o いわゆるワイルドカード証明書(例:"*.example.com" に対する識別子を含む証明書)の発行をやめていく。

These suggestions are not entirely consistent with all practices that are currently followed by certification authorities, client developers, and service providers. However, they reflect the best aspects of current practices and are expected to become more widely adopted in the coming years.

これらの提案は、認証局、クライアント開発者、サービスプロバイダーが現在従っているすべての慣行と完全に一致しているわけではありません。しかし、これらは現在の慣行の最良の側面を反映しており、今後数年でより広く採用されることが見込まれます。

1.6. Generalization from Current Technologies

1.6. 現在の技術からの一般化

This document attempts to generalize best practices from the many application technologies that currently use PKIX certificates with TLS. Such technologies include, but are not limited to:

本文書は、現在 TLS とともに PKIX 証明書を使用している多くのアプリケーション技術から、ベストプラクティスを一般化することを試みます。そのような技術には以下が含まれますが、これらに限定されません。

o The Internet Message Access Protocol [IMAP] and the Post Office Protocol [POP3]; see also [USINGTLS]

o Internet Message Access Protocol [IMAP] および Post Office Protocol [POP3]。[USINGTLS] も参照してください。

o The Hypertext Transfer Protocol [HTTP]; see also [HTTP-TLS]

o Hypertext Transfer Protocol [HTTP]。[HTTP-TLS] も参照してください。

o The Lightweight Directory Access Protocol [LDAP]; see also [LDAP-AUTH] and its predecessor [LDAP-TLS]

o Lightweight Directory Access Protocol [LDAP]。[LDAP-AUTH] およびその前身である [LDAP-TLS] も参照してください。

o The Simple Mail Transfer Protocol [SMTP]; see also [SMTP-AUTH] and [SMTP-TLS]

o Simple Mail Transfer Protocol [SMTP]。[SMTP-AUTH] および [SMTP-TLS] も参照してください。

o The Extensible Messaging and Presence Protocol [XMPP]; see also [XMPP-OLD]

o Extensible Messaging and Presence Protocol [XMPP]。[XMPP-OLD] も参照してください。

o The Network News Transfer Protocol [NNTP]; see also [NNTP-TLS]

o Network News Transfer Protocol [NNTP]。[NNTP-TLS] も参照してください。

o The NETCONF Configuration Protocol [NETCONF]; see also [NETCONF-SSH] and [NETCONF-TLS]

o NETCONF Configuration Protocol [NETCONF]。[NETCONF-SSH] および [NETCONF-TLS] も参照してください。

o The Syslog Protocol [SYSLOG]; see also [SYSLOG-TLS] and [SYSLOG-DTLS]

o Syslog Protocol [SYSLOG]。[SYSLOG-TLS] および [SYSLOG-DTLS] も参照してください。

o The Session Initiation Protocol [SIP]; see also [SIP-CERTS]

o Session Initiation Protocol [SIP]。[SIP-CERTS] も参照してください。

o The Simple Network Management Protocol [SNMP]; see also [SNMP-TLS]

o Simple Network Management Protocol [SNMP]。[SNMP-TLS] も参照してください。

o The General Internet Signalling Transport [GIST] However, as noted, this document does not supersede the rules for verifying service identity provided in specifications for those application protocols.

o General Internet Signalling Transport [GIST] ただし、前述のとおり、本文書は、これらのアプリケーションプロトコルの仕様で規定されているサービスアイデンティティの検証規則に取って代わるものではありません。

1.7. Scope

1.7. 適用範囲

1.7.1. In Scope

1.7.1. 適用範囲内

This document applies only to service identities associated with fully qualified DNS domain names, only to TLS and DTLS (or the older Secure Sockets Layer (SSL) technology), and only to PKIX-based systems. As a result, the scenarios described in the following section are out of scope for this specification (although they might be addressed by future specifications).

本文書は、完全修飾 DNS ドメイン名に関連付けられたサービスアイデンティティのみ、TLS と DTLS(または古い Secure Sockets Layer (SSL) 技術)のみ、そして PKIX ベースのシステムのみに適用されます。そのため、次のセクションで説明するシナリオは本仕様の適用範囲外です(ただし、将来の仕様で扱われる可能性はあります)。

1.7.2. Out of Scope

1.7.2. 適用範囲外

The following topics are out of scope for this specification:

次の事項は本仕様の適用範囲外です。

o Client or end-user identities.

o クライアントまたはエンドユーザーのアイデンティティ。

Certificates representing client or end-user identities (e.g., the rfc822Name identifier) can be used for mutual authentication between a client and server or between two clients, thus enabling stronger client-server security or end-to-end security. However, certification authorities, application developers, and service operators have less experience with client certificates than with server certificates, thus giving us fewer models from which to generalize and a less solid basis for defining best practices.

クライアントまたはエンドユーザーのアイデンティティを表す証明書(例:rfc822Name 識別子)は、クライアントとサーバーの間、または2つのクライアントの間の相互認証に使用でき、それによってより強固なクライアントサーバー間のセキュリティやエンドツーエンドのセキュリティを実現できます。しかし、認証局、アプリケーション開発者、サービス運用者は、サーバー証明書に比べてクライアント証明書の経験が少ないため、一般化の元となるモデルが少なく、ベストプラクティスを定義するための基盤も十分に固まっていません。

o Identifiers other than fully qualified DNS domain names.

o 完全修飾 DNS ドメイン名以外の識別子。

Some certification authorities issue server certificates based on IP addresses, but preliminary evidence indicates that such certificates are a very small percentage (less than 1%) of issued certificates. Furthermore, IP addresses are not necessarily reliable identifiers for application services because of the existence of private internets [PRIVATE], host mobility, multiple interfaces on a given host, Network Address Translators (NATs) resulting in different addresses for a host from different locations on the network, the practice of grouping many hosts together behind a single IP address, etc. Most fundamentally, most users find DNS domain names much easier to work with than IP addresses, which is why the domain name system was designed in the first place. We prefer to define best practices for the much more common use case and not to complicate the rules in this specification.

一部の認証局は IP アドレスに基づくサーバー証明書を発行していますが、予備的な調査結果によると、そのような証明書は発行済み証明書のごく一部(1% 未満)にすぎません。さらに、プライベートインターネット [PRIVATE] の存在、ホストの移動性、1つのホスト上の複数のインターフェース、ネットワーク上の場所によって1つのホストのアドレスが異なって見える原因となるネットワークアドレス変換器 (NAT)、多数のホストを単一の IP アドレスの背後にまとめる慣行などのために、IP アドレスはアプリケーションサービスの識別子として必ずしも信頼できるものではありません。最も根本的な点として、ほとんどのユーザーにとって DNS ドメイン名は IP アドレスよりもはるかに扱いやすく、それこそがそもそもドメインネームシステムが設計された理由です。私たちは、はるかに一般的なユースケースについてベストプラクティスを定義し、本仕様の規則を複雑にしないことを選びます。

Furthermore, we focus here on application service identities, not specific resources located at such services. Therefore this document discusses Uniform Resource Identifiers [URI] only as a way to communicate a DNS domain name (via the URI "host" component or its equivalent), not as a way to communicate other aspects of a service such as a specific resource (via the URI "path" component) or parameters (via the URI "query" component).

さらに、ここではそのようなサービスに置かれた特定のリソースではなく、アプリケーションサービスのアイデンティティに焦点を当てます。したがって、本文書では Uniform Resource Identifier [URI] を、(URI の "host" コンポーネントまたはそれに相当するものを介して)DNS ドメイン名を伝える手段としてのみ扱い、(URI の "path" コンポーネントを介した)特定のリソースや(URI の "query" コンポーネントを介した)パラメーターなど、サービスの他の側面を伝える手段としては扱いません。

We also do not discuss attributes unrelated to DNS domain names, such as those defined in [X.520] and other such specifications (e.g., organizational attributes, geographical attributes, company logos, and the like).

また、[X.520] などの仕様で定義されている属性(例:組織属性、地理的属性、会社のロゴなど)のように、DNS ドメイン名に関係しない属性についても論じません。

o Security protocols other than [TLS], [DTLS], or the older Secure Sockets Layer (SSL) technology.

o [TLS]、[DTLS]、または古い Secure Sockets Layer (SSL) 技術以外のセキュリティプロトコル。

Although other secure, lower-layer protocols exist and even employ PKIX certificates at times (e.g., IPsec [IPSEC]), their use cases can differ from those of TLS-based and DTLS-based application technologies. Furthermore, application technologies have less experience with IPsec than with TLS, thus making it more difficult to gather feedback on proposed best practices.

他にも安全な下位層プロトコルが存在し、ときには PKIX 証明書を使用することさえありますが(例:IPsec [IPSEC])、それらのユースケースは TLS ベースや DTLS ベースのアプリケーション技術のユースケースとは異なる可能性があります。さらに、アプリケーション技術では IPsec の経験が TLS よりも少ないため、提案するベストプラクティスについてフィードバックを集めることがより困難です。

o Keys or certificates employed outside the context of PKIX-based systems.

o PKIX ベースのシステムの文脈の外で使用される鍵または証明書。

Some deployed application technologies use a web of trust model based on or similar to OpenPGP [OPENPGP], or use self-signed certificates, or are deployed on networks that are not directly connected to the public Internet and therefore cannot depend on Certificate Revocation Lists (CRLs) or the Online Certificate Status Protocol [OCSP] to check CA-issued certificates. However, the method for binding a public key to an identifier in OpenPGP differs essentially from the method in X.509, the data in self-signed certificates has not been certified by a third party in any way, and checking of CA-issued certificates via CRLs or OCSP is critically important to maintaining the security of PKIX-based systems. Attempting to define best practices for such technologies would unduly complicate the rules defined in this specification.

展開されているアプリケーション技術の中には、OpenPGP [OPENPGP] に基づく、またはそれに類似した信頼の輪 (web of trust) モデルを使用するもの、自己署名証明書を使用するもの、あるいは公衆インターネットに直接接続されていないネットワークに展開されているために CA 発行の証明書を確認する際に証明書失効リスト (CRL) や Online Certificate Status Protocol [OCSP] に依存できないものがあります。しかし、OpenPGP で公開鍵を識別子に結び付ける方法は X.509 の方法とは本質的に異なり、自己署名証明書のデータは第三者によっていかなる形でも証明されておらず、CRL や OCSP を介して CA 発行の証明書を確認することは PKIX ベースのシステムのセキュリティを維持するうえで極めて重要です。このような技術についてベストプラクティスを定義しようとすると、本仕様で定義する規則が過度に複雑になります。

o Certification authority policies, such as:

o 次のような認証局のポリシー。

* What types or "classes" of certificates to issue and whether to apply different policies for them (e.g., allow the wildcard character in certificates issued to individuals who have provided proof of identity but do not allow the wildcard character in "Extended Validation" certificates [EV-CERTS]).

* どのような種類または「クラス」の証明書を発行するか、またそれらに異なるポリシーを適用するかどうか(例:本人確認書類を提示した個人に発行する証明書ではワイルドカード文字を許可するが、「Extended Validation」証明書 [EV-CERTS] ではワイルドカード文字を許可しない)。

* Whether to issue certificates based on IP addresses (or some other form, such as relative domain names) in addition to fully qualified DNS domain names.

* 完全修飾 DNS ドメイン名に加えて、IP アドレス(または相対ドメイン名などの他の形式)に基づく証明書を発行するかどうか。

* Which identifiers to include (e.g., whether to include SRV-IDs or URI-IDs as defined in the body of this specification).

* どの識別子を含めるか(例:本仕様の本文で定義する SRV-ID や URI-ID を含めるかどうか)。

* How to certify or validate fully qualified DNS domain names and application service types.

* 完全修飾 DNS ドメイン名とアプリケーションサービスタイプをどのように証明または検証するか。

* How to certify or validate other kinds of information that might be included in a certificate (e.g., organization name).

* 証明書に含まれる可能性のあるその他の種類の情報(例:組織名)をどのように証明または検証するか。

o Resolution of DNS domain names.

o DNS ドメイン名の名前解決。

Although the process whereby a client resolves the DNS domain name of an application service can involve several steps (e.g., this is true of resolutions that depend on DNS SRV resource records, Naming Authority Pointer (NAPTR) DNS resource records [NAPTR], and related technologies such as [S-NAPTR]), for our purposes we care only about the fact that the client needs to verify the identity of the entity with which it communicates as a result of the resolution process. Thus the resolution process itself is out of scope for this specification.

クライアントがアプリケーションサービスの DNS ドメイン名を解決するプロセスには、いくつかのステップが含まれることがあります(例:DNS SRV リソースレコード、Naming Authority Pointer (NAPTR) DNS リソースレコード [NAPTR]、および [S-NAPTR] などの関連技術に依存する名前解決がこれに該当します)。しかし本文書の目的において重要なのは、名前解決プロセスの結果として通信することになったエンティティのアイデンティティを、クライアントが検証する必要があるという事実だけです。したがって、名前解決プロセス自体は本仕様の適用範囲外です。

o User interface issues.

o ユーザーインターフェースの問題。

In general, such issues are properly the responsibility of client software developers and standards development organizations dedicated to particular application technologies (see, for example, [WSC-UI]).

一般に、そのような問題は、クライアントソフトウェアの開発者や、特定のアプリケーション技術を担う標準化団体が責任を負うべきものです(例として [WSC-UI] を参照してください)。

1.8. Terminology

1.8. 用語

Because many concepts related to "identity" are often too vague to be actionable in application protocols, we define a set of more concrete terms for use in this specification.

「アイデンティティ」に関連する多くの概念は、アプリケーションプロトコルで実際に扱うにはあいまいすぎることが多いため、本仕様で使用するより具体的な用語の集合を定義します。

application service: A service on the Internet that enables interactive and automated clients to connect for the purpose of retrieving or uploading information, communicating with other entities, or connecting to a broader network of services.

アプリケーションサービス (application service):対話型クライアントおよび自動化クライアントが、情報の取得やアップロード、他のエンティティとの通信、より広範なサービスネットワークへの接続のために接続できるようにする、インターネット上のサービス。

application service provider: An organization or individual that hosts or deploys an application service.

アプリケーションサービスプロバイダー (application service provider):アプリケーションサービスをホストまたは展開する組織または個人。

application service type: A formal identifier for the application protocol used to provide a particular kind of application service at a domain; the application service type typically takes the form of a Uniform Resource Identifier scheme [URI] or a DNS SRV Service [DNS-SRV].

アプリケーションサービスタイプ (application service type):ドメインで特定の種類のアプリケーションサービスを提供するために使用されるアプリケーションプロトコルの正式な識別子。アプリケーションサービスタイプは、通常、Uniform Resource Identifier のスキーム [URI] または DNS SRV のサービス [DNS-SRV] の形式をとります。

attribute-type-and-value pair: A colloquial name for the ASN.1-based construction comprising a Relative Distinguished Name (RDN), which itself is a building-block component of Distinguished Names. See Section 2 of [LDAP-DN].

属性タイプと値のペア (attribute-type-and-value pair):相対識別名 (RDN) を構成する ASN.1 ベースの構造の通称。RDN 自体は識別名の構成要素です。[LDAP-DN] のセクション2を参照してください。

automated client: A software agent or device that is not directly controlled by a human user.

自動化クライアント (automated client):人間のユーザーによって直接制御されないソフトウェアエージェントまたはデバイス。

delegated domain: A domain name or host name that is explicitly configured for communicating with the source domain, by either (a) the human user controlling an interactive client or (b) a trusted administrator. In case (a), one example of delegation is an account setup that specifies the domain name of a particular host to be used for retrieving information or connecting to a network, which might be different from the server portion of the user's account name (e.g., a server at mailhost.example.com for connecting to an IMAP server hosting an email address of juliet@example.com). In case (b), one example of delegation is an admin-configured host-to-address/address-to-host lookup table.

委任ドメイン (delegated domain):(a) 対話型クライアントを操作する人間のユーザー、または (b) 信頼できる管理者のいずれかによって、ソースドメインと通信するために明示的に設定されたドメイン名またはホスト名。(a) の場合の委任の一例は、情報の取得やネットワークへの接続に使用する特定のホストのドメイン名を指定するアカウント設定です。このドメイン名は、ユーザーのアカウント名のサーバー部分とは異なる場合があります(例:juliet@example.com というメールアドレスを収容する IMAP サーバーに接続するための mailhost.example.com のサーバー)。(b) の場合の委任の一例は、管理者が設定したホストからアドレス/アドレスからホストへの検索テーブルです。

derived domain: A domain name or host name that a client has derived from the source domain in an automated fashion (e.g., by means of a [DNS-SRV] lookup).

派生ドメイン (derived domain):クライアントがソースドメインから自動化された方法で(例:[DNS-SRV] の検索によって)導出したドメイン名またはホスト名。

identifier: A particular instance of an identifier type that is either presented by a server in a certificate or referenced by a client for matching purposes.

識別子 (identifier):識別子タイプの具体的なインスタンスであり、サーバーによって証明書内で提示されるもの、またはクライアントによって照合のために参照されるもの。

identifier type: A formally defined category of identifier that can be included in a certificate and therefore that can also be used for matching purposes. For conciseness and convenience, we define the following identifier types of interest, which are based on those found in the PKIX specification [PKIX] and various PKIX extensions.

識別子タイプ (identifier type):証明書に含めることができ、したがって照合にも使用できる、正式に定義された識別子のカテゴリ。簡潔さと利便性のために、PKIX 仕様 [PKIX] およびさまざまな PKIX 拡張に見られるものに基づいて、関心のある識別子タイプを次のように定義します。

* CN-ID = a Relative Distinguished Name (RDN) in the certificate subject field that contains one and only one attribute-type-and-value pair of type Common Name (CN), where the value matches the overall form of a domain name (informally, dot-separated letter-digit-hyphen labels); see [PKIX] and also [LDAP-SCHEMA]

* CN-ID = 証明書の subject フィールド内の相対識別名 (RDN) であって、タイプがコモンネーム (CN) の属性タイプと値のペアをただ1つだけ含み、その値がドメイン名の全体的な形式(非公式には、ドットで区切られた英字・数字・ハイフンからなるラベル)に一致するもの。[PKIX] および [LDAP-SCHEMA] を参照してください。

* DNS-ID = a subjectAltName entry of type dNSName; see [PKIX]

* DNS-ID = タイプ dNSName の subjectAltName エントリ。[PKIX] を参照してください。

* SRV-ID = a subjectAltName entry of type otherName whose name form is SRVName; see [SRVNAME]

* SRV-ID = タイプ otherName で、その名前形式が SRVName である subjectAltName エントリ。[SRVNAME] を参照してください。

* URI-ID = a subjectAltName entry of type uniformResourceIdentifier whose value includes both (i) a "scheme" and (ii) a "host" component (or its equivalent) that matches the "reg-name" rule (where the quoted terms represent the associated [ABNF] productions from [URI]); see [PKIX] and [URI]

* URI-ID = タイプ uniformResourceIdentifier の subjectAltName エントリであって、その値が (i) "scheme" と (ii) "reg-name" 規則に一致する "host" コンポーネント(またはそれに相当するもの)の両方を含むもの(引用符で囲んだ用語は [URI] の対応する [ABNF] 生成規則を表します)。[PKIX] および [URI] を参照してください。

interactive client: A software agent or device that is directly controlled by a human user. (Other specifications related to security and application protocols, such as [WSC-UI], often refer to this entity as a "user agent".)

対話型クライアント (interactive client):人間のユーザーによって直接制御されるソフトウェアエージェントまたはデバイス。([WSC-UI] など、セキュリティやアプリケーションプロトコルに関連する他の仕様では、このエンティティを「ユーザーエージェント」と呼ぶことがよくあります。)

pinning: The act of establishing a cached name association between the application service's certificate and one of the client's reference identifiers, despite the fact that none of the presented identifiers matches the given reference identifier. Pinning is accomplished by allowing a human user to positively accept the mismatch during an attempt to communicate with the application service. Once a cached name association is established, the certificate is said to be pinned to the reference identifier and in future communication attempts the client simply verifies that the service's presented certificate matches the pinned certificate, as described under Section 6.6.2. (A similar definition of "pinning" is provided in [WSC-UI].)

ピン留め (pinning):提示識別子のいずれも当該参照識別子に一致しないにもかかわらず、アプリケーションサービスの証明書とクライアントの参照識別子の1つとの間にキャッシュされた名前の関連付けを確立する行為。ピン留めは、アプリケーションサービスとの通信を試みる際に、人間のユーザーが不一致を明示的に受け入れられるようにすることで実現されます。キャッシュされた名前の関連付けが確立されると、その証明書は参照識別子にピン留めされたといい、以降の通信の試行では、セクション6.6.2で説明するように、クライアントはサービスが提示した証明書がピン留めされた証明書と一致することを検証するだけになります。(「ピン留め」の同様の定義は [WSC-UI] にもあります。)

PKIX: PKIX is a short name for the Internet Public Key Infrastructure using X.509 defined in RFC 5280 [PKIX], which comprises a profile of the X.509v3 certificate specifications and X.509v2 certificate revocation list (CRL) specifications for use in the Internet.

PKIX:PKIX は、RFC 5280 [PKIX] で定義されている X.509 を使用するインターネット公開鍵基盤の略称であり、インターネットで使用するための X.509v3 証明書仕様と X.509v2 証明書失効リスト (CRL) 仕様のプロファイルで構成されています。

PKIX-based system: A software implementation or deployed service that makes use of X.509v3 certificates and X.509v2 certificate revocation lists (CRLs).

PKIX ベースのシステム (PKIX-based system):X.509v3 証明書と X.509v2 証明書失効リスト (CRL) を利用するソフトウェア実装または展開されたサービス。

PKIX certificate: An X.509v3 certificate generated and employed in the context of PKIX.

PKIX 証明書 (PKIX certificate):PKIX の文脈で生成され使用される X.509v3 証明書。

presented identifier: An identifier that is presented by a server to a client within a PKIX certificate when the client attempts to establish secure communication with the server; the certificate can include one or more presented identifiers of different types, and if the server hosts more than one domain then the certificate might present distinct identifiers for each domain.

提示識別子 (presented identifier):クライアントがサーバーとの安全な通信を確立しようとするときに、サーバーが PKIX 証明書の中でクライアントに提示する識別子。証明書には異なるタイプの提示識別子を1つ以上含めることができ、サーバーが複数のドメインをホストしている場合、証明書はドメインごとに異なる識別子を提示することがあります。

reference identifier: An identifier, constructed from a source domain and optionally an application service type, used by the client for matching purposes when examining presented identifiers.

参照識別子 (reference identifier):ソースドメインと、任意でアプリケーションサービスタイプから構成される識別子であり、クライアントが提示識別子を調べる際に照合のために使用するもの。

source domain: The fully qualified DNS domain name that a client expects an application service to present in the certificate (e.g., "www.example.com"), typically input by a human user, configured into a client, or provided by reference such as in a hyperlink. The combination of a source domain and, optionally, an application service type enables a client to construct one or more reference identifiers.

ソースドメイン (source domain):クライアントが、アプリケーションサービスが証明書の中で提示することを期待する完全修飾 DNS ドメイン名(例:"www.example.com")。通常、人間のユーザーが入力するか、クライアントに設定されるか、ハイパーリンクのような参照によって与えられます。ソースドメインと、任意でアプリケーションサービスタイプを組み合わせることで、クライアントは1つ以上の参照識別子を構成できます。

subjectAltName entry: An identifier placed in a subjectAltName extension.

subjectAltName エントリ (subjectAltName entry):subjectAltName 拡張の中に置かれた識別子。

subjectAltName extension: A standard PKIX certificate extension [PKIX] enabling identifiers of various types to be bound to the certificate subject -- in addition to, or in place of, identifiers that may be embedded within or provided as a certificate's subject field.

subjectAltName 拡張 (subjectAltName extension):証明書の subject フィールドに埋め込まれる、または subject フィールドとして提供される識別子に加えて、またはその代わりに、さまざまなタイプの識別子を証明書のサブジェクトに結び付けることを可能にする標準の PKIX 証明書拡張 [PKIX]。

subject field: The subject field of a PKIX certificate identifies the entity associated with the public key stored in the subject public key field (see Section 4.1.2.6 of [PKIX]).

subject フィールド (subject field):PKIX 証明書の subject フィールドは、subject public key フィールドに格納された公開鍵に関連付けられたエンティティを識別します([PKIX] のセクション4.1.2.6を参照)。

subject name: In an overall sense, a subject's name(s) can be represented by or in the subject field, the subjectAltName extension, or both (see [PKIX] for details). More specifically, the term often refers to the name of a PKIX certificate's subject, encoded as the X.501 type Name and conveyed in a certificate's subject field (see Section 4.1.2.6 of [PKIX]).

サブジェクト名 (subject name):全体的な意味では、サブジェクトの名前は、subject フィールド、subjectAltName 拡張、またはその両方によって、またはその中で表現できます(詳細は [PKIX] を参照)。より具体的には、この用語は多くの場合、X.501 の Name 型としてエンコードされ、証明書の subject フィールドで伝えられる PKIX 証明書のサブジェクトの名前を指します([PKIX] のセクション4.1.2.6を参照)。

TLS client: An entity that assumes the role of a client in a Transport Layer Security [TLS] negotiation. In this specification we generally assume that the TLS client is an (interactive or automated) application client; however, in application protocols that enable server-to-server communication, the TLS client could be a peer application service.

TLS クライアント (TLS client):Transport Layer Security [TLS] のネゴシエーションにおいてクライアントの役割を担うエンティティ。本仕様では一般に、TLS クライアントは(対話型または自動化された)アプリケーションクライアントであると想定します。ただし、サーバー間通信を可能にするアプリケーションプロトコルでは、TLS クライアントがピアのアプリケーションサービスである場合もあります。

TLS server: An entity that assumes the role of a server in a Transport Layer Security [TLS] negotiation; in this specification we assume that the TLS server is an application service.

TLS サーバー (TLS server):Transport Layer Security [TLS] のネゴシエーションにおいてサーバーの役割を担うエンティティ。本仕様では、TLS サーバーはアプリケーションサービスであると想定します。

Most security-related terms in this document are to be understood in the sense defined in [SECTERMS]; such terms include, but are not limited to, "attack", "authentication", "authorization", "certification authority", "certification path", "certificate", "credential", "identity", "self-signed certificate", "trust", "trust anchor", "trust chain", "validate", and "verify".

本文書のセキュリティ関連の用語の大半は、[SECTERMS] で定義されている意味で理解されるものとします。そのような用語には、"attack"(攻撃)、"authentication"(認証)、"authorization"(認可)、"certification authority"(認証局)、"certification path"(証明書パス)、"certificate"(証明書)、"credential"(クレデンシャル)、"identity"(アイデンティティ)、"self-signed certificate"(自己署名証明書)、"trust"(信頼)、"trust anchor"(トラストアンカー)、"trust chain"(信頼チェーン)、"validate"(妥当性確認)、"verify"(検証)が含まれますが、これらに限定されません。

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [KEYWORDS].

このドキュメントのキーワード "MUST"、"MUST NOT"、"REQUIRED"、"SHALL"、"SHALL NOT"、"SHOULD"、"SHOULD NOT"、"RECOMMENDED"、"NOT RECOMMENDED"、"MAY"、および "OPTIONAL" は、RFC 2119 [KEYWORDS] で説明されているように解釈されるものとします。

2. Naming of Application Services

2. アプリケーションサービスの命名

This section discusses naming of application services on the Internet, followed by a brief tutorial about subject naming in PKIX.

このセクションでは、インターネット上のアプリケーションサービスの命名について説明し、続いて PKIX におけるサブジェクトの命名について簡単に解説します。

2.1. Naming Application Services

2.1. アプリケーションサービスの命名

This specification assumes that the name of an application service is based on a DNS domain name (e.g., "example.com") -- supplemented in some circumstances by an application service type (e.g., "the IMAP server at example.com").

本仕様は、アプリケーションサービスの名前が DNS ドメイン名(例:"example.com")に基づいており、状況によってはアプリケーションサービスタイプ(例:「example.com の IMAP サーバー」)で補足されることを前提とします。

From the perspective of the application client or user, some names are direct because they are provided directly by a human user (e.g., via runtime input, prior configuration, or explicit acceptance of a client communication attempt), whereas other names are indirect because they are automatically resolved by the client based on user input (e.g., a target name resolved from a source name using DNS SRV or NAPTR records). This dimension matters most for certificate consumption, specifically verification as discussed in this document.

アプリケーションクライアントまたはユーザーの観点からは、名前には直接的なものと間接的なものがあります。直接的な名前は、人間のユーザーによって直接与えられるもの(例:実行時の入力、事前の設定、クライアントの通信試行の明示的な承認による)です。間接的な名前は、ユーザーの入力に基づいてクライアントが自動的に解決するもの(例:DNS SRV または NAPTR レコードを使用してソース名から解決されたターゲット名)です。この観点は、証明書の利用、特に本文書で論じる検証において最も重要です。

From the perspective of the application service, some names are unrestricted because they can be used in any type of service (e.g., a certificate might be reused for both the HTTP service and the IMAP service at example.com), whereas other names are restricted because they can be used in only one type of service (e.g., a special-purpose certificate that can be used only for an IMAP service). This dimension matters most for certificate issuance.

アプリケーションサービスの観点からは、名前には制限のないものと制限されたものがあります。制限のない名前は、あらゆる種類のサービスで使用できるもの(例:1つの証明書を example.com の HTTP サービスと IMAP サービスの両方に再利用する場合)です。制限された名前は、1種類のサービスでのみ使用できるもの(例:IMAP サービスにのみ使用できる特定用途の証明書)です。この観点は、証明書の発行において最も重要です。

Therefore, we can categorize the identifier types of interest as follows:

したがって、関心のある識別子タイプは次のように分類できます。

o A CN-ID is direct and unrestricted.

o CN-ID は直接的で、制限がありません。

o A DNS-ID is direct and unrestricted.

o DNS-ID は直接的で、制限がありません。

o An SRV-ID can be either direct or (more typically) indirect, and is restricted.

o SRV-ID は直接的な場合と(より一般的には)間接的な場合があり、制限されています。

o A URI-ID is direct and restricted.

o URI-ID は直接的で、制限されています。

We summarize this taxonomy in the following table.

この分類法を次の表にまとめます。

   +-----------+-----------+---------------+
   |           |  Direct   |  Restricted   |
   +-----------+-----------+---------------+
   |  CN-ID    |  Yes      |  No           |
   +-----------+-----------+---------------+
   |  DNS-ID   |  Yes      |  No           |
   +-----------+-----------+---------------+
   |  SRV-ID   |  Either   |  Yes          |
   +-----------+-----------+---------------+
   |  URI-ID   |  Yes      |  Yes          |
   +-----------+-----------+---------------+
        
直接制限あり
CN-IDはいNo
DNS-IDはいNo
SRV-IDいずれか (Either)はい
URI-IDはいはい

When implementing software, deploying services, and issuing certificates for secure PKIX-based authentication, it is important to keep these distinctions in mind. In particular, best practices differ somewhat for application server implementations, application client implementations, application service providers, and certification authorities. Ideally, protocol specifications that reference this document will specify which identifiers are mandatory-to-implement by servers and clients, which identifiers ought to be supported by certificate issuers, and which identifiers ought to be requested by application service providers. Because these requirements differ across applications, it is impossible to categorically stipulate universal rules (e.g., that all software implementations, service providers, and certification authorities for all application protocols need to use or support DNS-IDs as a baseline for the purpose of interoperability).

安全な PKIX ベースの認証のためにソフトウェアを実装し、サービスを展開し、証明書を発行する際には、これらの区別を念頭に置くことが重要です。特に、ベストプラクティスは、アプリケーションサーバーの実装、アプリケーションクライアントの実装、アプリケーションサービスプロバイダー、認証局のそれぞれでいくらか異なります。理想的には、本文書を参照するプロトコル仕様は、どの識別子をサーバーとクライアントが実装必須とするか、どの識別子を証明書発行者がサポートすべきか、どの識別子をアプリケーションサービスプロバイダーが要求すべきかを規定することになります。これらの要件はアプリケーションによって異なるため、普遍的な規則(例:相互運用性のために、すべてのアプリケーションプロトコルについて、すべてのソフトウェア実装、サービスプロバイダー、認証局が DNS-ID を最低限の基準として使用またはサポートする必要がある、といった規則)を一律に定めることはできません。

However, it is preferable that each application protocol will at least define a baseline that applies to the community of software developers, application service providers, and CAs actively using or supporting that technology (one such community, the CA/Browser Forum, has codified such a baseline for "Extended Validation Certificates" in [EV-CERTS]).

ただし、各アプリケーションプロトコルが少なくとも、その技術を積極的に使用またはサポートしているソフトウェア開発者、アプリケーションサービスプロバイダー、CA のコミュニティに適用される最低限の基準を定義することが望まれます(そのようなコミュニティの1つである CA/Browser Forum は、[EV-CERTS] において「Extended Validation 証明書」についてそのような基準を成文化しています)。

2.2. DNS Domain Names

2.2. DNSドメイン名

For the purposes of this specification, the name of an application service is (or is based on) a DNS domain name that conforms to one of the following forms: 1. A "traditional domain name", i.e., a fully qualified DNS domain name or "FQDN" (see [DNS-CONCEPTS]) all of whose labels are "LDH labels" as described in [IDNA-DEFS]. Informally, such labels are constrained to [US-ASCII] letters, digits, and the hyphen, with the hyphen prohibited in the first character position. Additional qualifications apply (please refer to the above-referenced specifications for details), but they are not relevant to this specification.

本仕様においては、アプリケーションサービスの名前は、次のいずれかの形式に準拠する DNS ドメイン名である(またはそれに基づく)ものとします。1. 「従来のドメイン名」。すなわち、完全修飾 DNS ドメイン名、つまり "FQDN"([DNS-CONCEPTS] を参照)であって、そのすべてのラベルが [IDNA-DEFS] で説明されている「LDH ラベル」であるもの。非公式には、そのようなラベルは [US-ASCII] の英字、数字、ハイフンに制限され、先頭の文字位置でのハイフンは禁止されています。追加の条件もあります(詳細は上記で参照した仕様を参照してください)が、それらは本仕様には関係しません。

2. An "internationalized domain name", i.e., a DNS domain name that conforms to the overall form of a domain name (informally, dot-separated letter-digit-hyphen labels) but includes at least one label containing appropriately encoded Unicode code points outside the traditional US-ASCII range. That is, it contains at least one U-label or A-label, but otherwise may contain any mixture of NR-LDH labels, A-labels, or U-labels, as described in [IDNA-DEFS] and the associated documents.

2. 「国際化ドメイン名」。すなわち、ドメイン名の全体的な形式(非公式には、ドットで区切られた英字・数字・ハイフンからなるラベル)に準拠しつつ、従来の US-ASCII の範囲外の Unicode コードポイントを適切にエンコードして含むラベルを少なくとも1つ持つ DNS ドメイン名。つまり、少なくとも1つの U-label または A-label を含み、それ以外の部分は [IDNA-DEFS] および関連文書で説明されている NR-LDH ラベル、A-label、U-label を任意に組み合わせて含むことができます。

2.3. Subject Naming in PKIX Certificates

2.3. PKIX 証明書におけるサブジェクトの命名

In theory, the Internet Public Key Infrastructure using X.509 [PKIX] employs the global directory service model defined in [X.500] and [X.501]. Under that model, information is held in a directory information base (DIB) and entries in the DIB are organized in a hierarchy called the directory information tree (DIT). An object or alias entry in that hierarchy consists of a set of attributes (each of which has a defined type and one or more values) and is uniquely identified by a Distinguished Name (DN). The DN of an entry is constructed by combining the Relative Distinguished Names of its superior entries in the tree (all the way down to the root of the DIT) with one or more specially nominated attributes of the entry itself (which together comprise the Relative Distinguished Name (RDN) of the entry, so-called because it is relative to the Distinguished Names of the superior entries in the tree). The entry closest to the root is sometimes referred to as the "most significant" entry, and the entry farthest from the root is sometimes referred to as the "least significant" entry. An RDN is a set (i.e., an unordered group) of attribute-type-and-value pairs (see also [LDAP-DN]), each of which asserts some attribute about the entry.

理論上、X.509 を使用するインターネット公開鍵基盤 [PKIX] は、[X.500] と [X.501] で定義されたグローバルなディレクトリサービスモデルを採用しています。このモデルでは、情報はディレクトリ情報ベース (DIB) に保持され、DIB 内のエントリはディレクトリ情報ツリー (DIT) と呼ばれる階層に編成されます。この階層内のオブジェクトエントリまたはエイリアスエントリは、属性(それぞれが定義済みのタイプと1つ以上の値を持つ)の集合で構成され、識別名 (DN) によって一意に識別されます。エントリの DN は、ツリー内のその上位エントリ(DIT のルートまでのすべて)の相対識別名と、エントリ自身の特別に指定された1つ以上の属性とを組み合わせて構成されます(後者の属性がまとまってそのエントリの相対識別名 (RDN) を構成します。ツリー内の上位エントリの識別名に対して相対的であるため、このように呼ばれます)。ルートに最も近いエントリは「最上位 (most significant)」のエントリと呼ばれることがあり、ルートから最も遠いエントリは「最下位 (least significant)」のエントリと呼ばれることがあります。RDN は属性タイプと値のペアの集合(すなわち順序のないグループ)であり([LDAP-DN] も参照)、各ペアはそのエントリについての何らかの属性を表明します。

In practice, the certificates used in [X.509] and [PKIX] borrow key concepts from X.500 and X.501 (e.g., DNs and RDNs) to identify entities, but such certificates are not necessarily part of a global directory information base. Specifically, the subject field of a PKIX certificate is an X.501 type Name that "identifies the entity associated with the public key stored in the subject public key field" (see Section 4.1.2.6 of [PKIX]). However, it is perfectly acceptable for the subject field to be empty, as long as the certificate contains a subject alternative name ("subjectAltName") extension that includes at least one subjectAltName entry, because the subjectAltName extension allows various identities to be bound to the subject (see Section 4.2.1.6 of [PKIX]). The subjectAltName extension itself is a sequence of typed entries, where each type is a distinct kind of identifier.

実際には、[X.509] や [PKIX] で使われる証明書は、エンティティを識別するために X.500 や X.501 の主要な概念 (たとえば DN や RDN) を借用していますが、そのような証明書は必ずしもグローバルなディレクトリ情報ベースの一部であるとは限りません。具体的には、PKIX 証明書の subject フィールドは X.501 型の Name であり、"identifies the entity associated with the public key stored in the subject public key field" ([PKIX] の 4.1.2.6 節を参照) とされています。しかし、証明書に少なくとも 1 つの subjectAltName エントリを含む subject alternative name ("subjectAltName") 拡張が含まれていれば、subject フィールドが空であっても、まったく問題ありません。subjectAltName 拡張では、さまざまな識別情報をサブジェクトに結び付けることができるためです ([PKIX] の 4.2.1.6 節を参照)。subjectAltName 拡張自体は型付きエントリの列であり、各型はそれぞれ異なる種類の識別子です。

For our purposes, an application service can be identified by a name or names carried in the subject field (i.e., a CN-ID) and/or in one of the following identifier types within subjectAltName entries:

本文書の目的においては、アプリケーションサービスは、subject フィールドで伝えられる名前(すなわち CN-ID)、および/または subjectAltName エントリ内の次のいずれかの識別子タイプで伝えられる名前によって識別できます。

o DNS-ID

o DNS-ID

o SRV-ID

o SRV-ID

o URI-ID

o URI-ID

Existing certificates often use a CN-ID in the subject field to represent a fully qualified DNS domain name; for example, consider the following three subject names, where the attribute of type Common Name contains a string whose form matches that of a fully qualified DNS domain name ("im.example.org", "mail.example.net", and "www.example.com", respectively):

既存の証明書では、完全修飾 DNS ドメイン名を表すために subject フィールドで CN-ID を使用することがよくあります。例として、次の3つのサブジェクト名を考えてください。いずれもタイプがコモンネームの属性に、完全修飾 DNS ドメイン名の形式に一致する文字列(それぞれ "im.example.org"、"mail.example.net"、"www.example.com")が含まれています。

      CN=im.example.org,O=Example Org,C=GB

      C=CA,O=Example Internetworking,CN=mail.example.net

      O=Examples-R-Us,CN=www.example.com,C=US
        

However, the Common Name is not strongly typed because a Common Name might contain a human-friendly string for the service, rather than a string whose form matches that of a fully qualified DNS domain name (a certificate with such a single Common Name will typically have at least one subjectAltName entry containing the fully qualified DNS domain name):

しかし、コモンネームは強く型付けされていません。コモンネームには、完全修飾 DNS ドメイン名の形式に一致する文字列ではなく、サービスを表す人間にわかりやすい文字列が含まれる場合があるためです(そのような単一のコモンネームを持つ証明書は、通常、完全修飾 DNS ドメイン名を含む subjectAltName エントリを少なくとも1つ持ちます)。

      CN=A Free Chat Service,O=Example Org,C=GB
        

Or, a certificate's subject might contain both a CN-ID as well as another common name attribute containing a human-friendly string:

あるいは、証明書のサブジェクトに、CN-ID と、人間にわかりやすい文字列を含む別のコモンネーム属性の両方が含まれる場合もあります。

      CN=A Free Chat Service,CN=im.example.org,O=Example Org,C=GB
        

In general, this specification recommends and prefers use of subjectAltName entries (DNS-ID, SRV-ID, URI-ID, etc.) over use of the subject field (CN-ID) where possible, as more completely described in the following sections. However, specifications that reuse this one can legitimately encourage continued support for the CN-ID identifier type if they have good reasons to do so, such as backward compatibility with deployed infrastructure (see, for example, [EV-CERTS]).

一般に、本仕様は、後続のセクションでより詳しく説明するように、可能な場合には subject フィールド (CN-ID) よりも subjectAltName エントリ (DNS-ID、SRV-ID、URI-ID など) を使用することを推奨し、優先します。ただし、本仕様を再利用する仕様は、展開済みのインフラストラクチャとの後方互換性など、そうする十分な理由があれば、CN-ID 識別子タイプの継続的なサポートを正当に奨励できます(例として [EV-CERTS] を参照してください)。

2.3.1. Implementation Notes

2.3.1. 実装上の注意

Confusion sometimes arises from different renderings or encodings of the hierarchical information contained in a certificate.

証明書に含まれる階層的な情報の表示形式やエンコーディングが異なることから、混乱が生じることがあります。

Certificates are binary objects and are encoded using the Distinguished Encoding Rules (DER) specified in [X.690]. However, some implementations generate displayable (a.k.a. printable) renderings of the certificate issuer, subject field, and subjectAltName extension, and these renderings convert the DER-encoded sequences into a "string representation" before being displayed. Because a certificate subject field (of type Name [X.509], the same as for a Distinguished Name (DN) [X.501]) is an ordered sequence, order is typically preserved in subject string representations, although the two most prevalent subject (and DN) string representations differ in employing left-to-right vs. right-to-left ordering. However, because a Relative Distinguished Name (RDN) is an unordered group of attribute-type-and-value pairs, the string representation of an RDN can differ from the canonical DER encoding (and the order of attribute-type-and-value pairs can differ in the RDN string representations or display orders provided by various implementations). Furthermore, various specifications refer to the order of RDNs in DNs or certificate subject fields using terminology that is implicitly related to an information hierarchy (which may or may not actually exist), such as "most specific" vs. "least specific", "left-most" vs. "right-most", "first" vs. "last", or "most significant" vs. "least significant" (see, for example, [LDAP-DN]).

証明書はバイナリオブジェクトであり、[X.690] で規定された Distinguished Encoding Rules (DER) を使用してエンコードされます。しかし、一部の実装は証明書の発行者、subject フィールド、subjectAltName 拡張の表示可能な(いわゆる印字可能な)表現を生成し、その際に DER エンコードされたシーケンスを表示前に「文字列表現」に変換します。証明書の subject フィールド(識別名 (DN) [X.501] と同じ Name 型 [X.509])は順序付きシーケンスであるため、サブジェクトの文字列表現では通常順序が保持されます。ただし、最も普及している2つのサブジェクト(および DN)の文字列表現は、左から右への順序を採用するか右から左への順序を採用するかという点で異なります。一方、相対識別名 (RDN) は属性タイプと値のペアの順序のないグループであるため、RDN の文字列表現は正規の DER エンコーディングとは異なる場合があります(また、属性タイプと値のペアの順序は、実装によって提供される RDN の文字列表現や表示順序の間で異なる場合があります)。さらに、さまざまな仕様が、DN や証明書の subject フィールド内の RDN の順序を、情報階層(実際に存在する場合もしない場合もあります)を暗に前提とした用語、たとえば "most specific"(最も具体的)対 "least specific"(最も具体的でない)、"left-most"(左端)対 "right-most"(右端)、"first"(最初)対 "last"(最後)、"most significant"(最上位)対 "least significant"(最下位)などで表しています(例として [LDAP-DN] を参照してください)。

To reduce confusion, in this specification we avoid such terms and instead use the terms provided under Section 1.8; in particular, we do not use the term "(most specific) Common Name field in the subject field" from [HTTP-TLS] and instead state that a CN-ID is a Relative Distinguished Name (RDN) in the certificate subject containing one and only one attribute-type-and-value pair of type Common Name (thus removing the possibility that an RDN might contain multiple AVAs (Attribute Value Assertions) of type CN, one of which could be considered "most specific").

混乱を減らすために、本仕様ではそのような用語を避け、代わりにセクション1.8で示した用語を使用します。特に、[HTTP-TLS] の "(most specific) Common Name field in the subject field"(subject フィールド内の(最も具体的な)コモンネームフィールド)という用語は使用せず、代わりに、CN-ID は証明書のサブジェクト内の相対識別名 (RDN) であって、タイプがコモンネームの属性タイプと値のペアをただ1つだけ含むものである、と述べます(これにより、RDN にタイプ CN の AVA (Attribute Value Assertion) が複数含まれ、そのうちの1つが「最も具体的」とみなされうるという可能性を排除します)。

Finally, although theoretically some consider the order of RDNs within a subject field to have meaning, in practice that rule is often not observed. An AVA of type CN is considered to be valid at any position within the subject field.

最後に、理論上は subject フィールド内の RDN の順序に意味があると考える人もいますが、実際にはその規則は守られていないことがよくあります。タイプ CN の AVA は、subject フィールド内のどの位置にあっても有効であるとみなされます。

3. Designing Application Protocols

3. アプリケーションプロトコルの設計

This section provides guidelines for designers of application protocols, in the form of a checklist to follow when reusing the recommendations provided in this document.

このセクションでは、アプリケーションプロトコルの設計者向けのガイドラインを、本文書で提供する推奨事項を再利用する際に従うべきチェックリストの形で示します。

o Does your technology use DNS SRV records to resolve the DNS domain names of application services? If so, consider recommending or requiring support for the SRV-ID identifier type in PKIX certificates issued and used in your technology community. (Note that many existing application technologies use DNS SRV records to resolve the DNS domain names of application services, but do not rely on representations of those records in PKIX certificates by means of SRV-IDs as defined in [SRVNAME].)

o あなたの技術は、アプリケーションサービスの DNS ドメイン名を解決するために DNS SRV レコードを使用しますか? 使用する場合は、あなたの技術コミュニティで発行・使用される PKIX 証明書において、SRV-ID 識別子タイプのサポートを推奨または必須とすることを検討してください。(既存のアプリケーション技術の多くは、アプリケーションサービスの DNS ドメイン名を解決するために DNS SRV レコードを使用していますが、[SRVNAME] で定義されている SRV-ID による PKIX 証明書内でのそれらのレコードの表現には依存していないことに注意してください。)

o Does your technology use URIs to identify application services? If so, consider recommending or requiring support for the URI-ID identifier type. (Note that many existing application technologies use URIs to identify application services, but do not rely on representation of those URIs in PKIX certificates by means of URI-IDs.)

o あなたの技術は、アプリケーションサービスを識別するために URI を使用しますか? 使用する場合は、URI-ID 識別子タイプのサポートを推奨または必須とすることを検討してください。(既存のアプリケーション技術の多くは、アプリケーションサービスを識別するために URI を使用していますが、URI-ID による PKIX 証明書内でのそれらの URI の表現には依存していないことに注意してください。)

o Does your technology need to use DNS domain names in the Common Name of certificates for the sake of backward compatibility? If so, consider recommending support for the CN-ID identifier type as a fallback.

o あなたの技術は、後方互換性のために証明書のコモンネームで DNS ドメイン名を使用する必要がありますか? 必要な場合は、フォールバックとして CN-ID 識別子タイプのサポートを推奨することを検討してください。

o Does your technology need to allow the wildcard character in DNS domain names? If so, consider recommending support for wildcard certificates, and specify exactly where the wildcard character is allowed to occur (e.g., only the complete left-most label of a DNS domain name).

o あなたの技術は、DNS ドメイン名でワイルドカード文字を許可する必要がありますか? 必要な場合は、ワイルドカード証明書のサポートを推奨することを検討し、ワイルドカード文字がどこに出現してよいか(例:DNS ドメイン名の左端のラベル全体のみ)を正確に規定してください。

Sample text is provided under Appendix A.

サンプルテキストは付録Aに記載されています。

4. Representing Server Identity

4. サーバーアイデンティティの表現

This section provides rules and guidelines for issuers of certificates.

このセクションでは、証明書の発行者向けの規則とガイドラインを示します。

4.1. Rules

4.1. 規則

When a certification authority issues a certificate based on the fully qualified DNS domain name at which the application service provider will provide the relevant application, the following rules apply to the representation of application service identities. The reader needs to be aware that some of these rules are cumulative and can interact in important ways that are illustrated later in this document.

アプリケーションサービスプロバイダーが当該アプリケーションを提供する完全修飾 DNS ドメイン名に基づいて認証局が証明書を発行する場合、アプリケーションサービスアイデンティティの表現には次の規則が適用されます。読者は、これらの規則の一部が累積的であり、本文書の後半で示すように重要な形で相互に作用しうることに注意する必要があります。

1. The certificate SHOULD include a "DNS-ID" if possible as a baseline for interoperability.

1. 証明書には、相互運用性のベースラインとして、可能であれば「DNS-ID」を含めるべきです (SHOULD)。

2. If the service using the certificate deploys a technology for which the relevant specification stipulates that certificates ought to include identifiers of type SRV-ID (e.g., this is true of [XMPP]), then the certificate SHOULD include an SRV-ID.

2. 証明書を使用するサービスが、関連仕様において証明書にSRV-IDタイプの識別子を含めるべきであると規定されている技術を展開している場合(例えば[XMPP]など)、証明書にはSRV-IDを含めるべきです (SHOULD)。

3. If the service using the certificate deploys a technology for which the relevant specification stipulates that certificates ought to include identifiers of type URI-ID (e.g., this is true of [SIP] as specified by [SIP-CERTS], but not true of [HTTP] since [HTTP-TLS] does not describe usage of a URI-ID for HTTP services), then the certificate SHOULD include a URI-ID. The scheme SHALL be that of the protocol associated with the application service type and the "host" component (or its equivalent) SHALL be the fully qualified DNS domain name of the service. A specification that reuses this one MUST specify which URI schemes are to be considered acceptable in URI-IDs contained in PKIX certificates used for the application protocol (e.g., "sip" but not "sips" or "tel" for SIP as described in [SIP-SIPS], or perhaps http and https for HTTP as might be described in a future specification).

3. 証明書を使用するサービスが、関連する仕様で証明書にURI-IDタイプの識別子を含めるべきであると規定されている技術を展開している場合(たとえば、[SIP-CERTS] で規定されている [SIP] はこれに当てはまりますが、[HTTP-TLS] はHTTPサービスでのURI-IDの使用を記述していないため [HTTP] には当てはまりません)、証明書はURI-IDを含めるべきです (SHOULD)。スキームはアプリケーションサービスタイプに関連付けられたプロトコルのものでなければならず (SHALL)、「host」コンポーネント(またはそれに相当するもの)はサービスの完全修飾DNSドメイン名でなければなりません (SHALL)。本仕様を再利用する仕様は、そのアプリケーションプロトコルで使用されるPKIX証明書に含まれるURI-IDにおいて、どのURIスキームを受け入れ可能とみなすかを規定しなければなりません (MUST)(たとえば、[SIP-SIPS] で説明されているとおりSIPでは「sip」であり「sips」や「tel」ではない、あるいは将来の仕様で記述されるかもしれないとおりHTTPではhttpとhttps)。

4. The certificate MAY include other application-specific identifiers for types that were defined before publication of [SRVNAME] (e.g., XmppAddr for [XMPP]) or for which service names or URI schemes do not exist; however, such application-specific identifiers are not applicable to all application technologies and therefore are out of scope for this specification.

4. 証明書には、[SRVNAME] の公開前に定義されたタイプ(例:[XMPP] の XmppAddr)や、サービス名または URI スキームが存在しないタイプについて、その他のアプリケーション固有の識別子を含めてもよいです (MAY)。ただし、そのようなアプリケーション固有の識別子はすべてのアプリケーション技術に適用できるわけではないため、本仕様の適用範囲外です。

5. Even though many deployed clients still check for the CN-ID within the certificate subject field, certification authorities are encouraged to migrate away from issuing certificates that represent the server's fully qualified DNS domain name in a CN-ID. Therefore, the certificate SHOULD NOT include a CN-ID unless the certification authority issues the certificate in accordance with a specification that reuses this one and that explicitly encourages continued support for the CN-ID identifier type in the context of a given application technology.

5. 展開されている多くのクライアントは依然として証明書の subject フィールド内の CN-ID を確認しますが、認証局には、サーバーの完全修飾 DNS ドメイン名を CN-ID で表す証明書の発行から移行していくことが奨励されます。したがって、認証局が本仕様を再利用し、かつ特定のアプリケーション技術の文脈で CN-ID 識別子タイプの継続的なサポートを明示的に奨励している仕様に従って証明書を発行する場合を除き、証明書には CN-ID を含めるべきではありません (SHOULD NOT)。

6. The certificate MAY contain more than one DNS-ID, SRV-ID, or URI-ID but SHOULD NOT contain more than one CN-ID, as further explained under Section 7.4.

6. 証明書には、複数のDNS-ID、SRV-ID、またはURI-IDを含めてもよいですが (MAY)、セクション7.4でさらに説明するように、複数のCN-IDを含めるべきではありません (SHOULD NOT)。

7. Unless a specification that reuses this one allows continued support for the wildcard character '*', the DNS domain name portion of a presented identifier SHOULD NOT contain the wildcard character, whether as the complete left-most label within the identifier (following the description of labels and domain names in [DNS-CONCEPTS], e.g., "*.example.com") or as a fragment thereof (e.g., *oo.example.com, f*o.example.com, or fo*.example.com). A more detailed discussion of so-called "wildcard certificates" is provided under Section 7.2.

7. 本仕様を再利用する仕様がワイルドカード文字「*」の継続的なサポートを許可していない限り、提示識別子のDNSドメイン名部分は、識別子内の左端のラベル全体([DNS-CONCEPTS] のラベルとドメイン名の説明に従ったもの。例: 「*.example.com」)としてであれ、その一部(例: *oo.example.com、f*o.example.com、fo*.example.com)としてであれ、ワイルドカード文字を含むべきではありません (SHOULD NOT)。いわゆる「ワイルドカード証明書」についてのより詳細な議論はセクション7.2にあります。

4.2. Examples

4.2. 例

Consider a simple website at "www.example.com", which is not discoverable via DNS SRV lookups. Because HTTP does not specify the use of URIs in server certificates, a certificate for this service might include only a DNS-ID of "www.example.com". It might also include a CN-ID of "www.example.com" for backward compatibility with deployed infrastructure.

DNS SRV の検索では発見できない、"www.example.com" にある単純なウェブサイトを考えてください。HTTP はサーバー証明書における URI の使用を規定していないため、このサービスの証明書には "www.example.com" という DNS-ID のみが含まれる場合があります。また、展開済みのインフラストラクチャとの後方互換性のために、"www.example.com" という CN-ID が含まれる場合もあります。

Consider an IMAP-accessible email server at the host "mail.example.net" servicing email addresses of the form "user@example.net" and discoverable via DNS SRV lookups on the application service name of "example.net". A certificate for this service might include SRV-IDs of "_imap.example.net" and "_imaps.example.net" (see [EMAIL-SRV]) along with DNS-IDs of "example.net" and "mail.example.net". It might also include CN-IDs of "example.net" and "mail.example.net" for backward compatibility with deployed infrastructure.

ホスト "mail.example.net" にある IMAP でアクセス可能なメールサーバーを考えてください。このサーバーは "user@example.net" という形式のメールアドレスを扱い、アプリケーションサービス名 "example.net" に対する DNS SRV の検索によって発見できます。このサービスの証明書には、"_imap.example.net" と "_imaps.example.net" という SRV-ID([EMAIL-SRV] を参照)と、"example.net" と "mail.example.net" という DNS-ID が含まれる場合があります。また、展開済みのインフラストラクチャとの後方互換性のために、"example.net" と "mail.example.net" という CN-ID が含まれる場合もあります。

Consider a SIP-accessible voice-over-IP (VoIP) server at the host "voice.example.edu" servicing SIP addresses of the form "user@voice.example.edu" and identified by a URI of <sip: voice.example.edu>. A certificate for this service would include a URI-ID of "sip:voice.example.edu" (see [SIP-CERTS]) along with a DNS-ID of "voice.example.edu". It might also include a CN-ID of "voice.example.edu" for backward compatibility with deployed infrastructure.

ホスト "voice.example.edu" にある SIP でアクセス可能な Voice over IP (VoIP) サーバーを考えてください。このサーバーは "user@voice.example.edu" という形式の SIP アドレスを扱い、<sip: voice.example.edu> という URI で識別されます。このサービスの証明書には、"sip:voice.example.edu" という URI-ID([SIP-CERTS] を参照)と、"voice.example.edu" という DNS-ID が含まれることになります。また、展開済みのインフラストラクチャとの後方互換性のために、"voice.example.edu" という CN-ID が含まれる場合もあります。

Consider an XMPP-compatible instant messaging (IM) server at the host "im.example.org" servicing IM addresses of the form "user@im.example.org" and discoverable via DNS SRV lookups on the "im.example.org" domain. A certificate for this service might include SRV-IDs of "_xmpp-client.im.example.org" and "_xmpp-server.im.example.org" (see [XMPP]), a DNS-ID of "im.example.org", and an XMPP-specific "XmppAddr" of "im.example.org" (see [XMPP]). It might also include a CN-ID of "im.example.org" for backward compatibility with deployed infrastructure.

ホスト "im.example.org" にある XMPP 互換のインスタントメッセージング (IM) サーバーを考えてください。このサーバーは "user@im.example.org" という形式の IM アドレスを扱い、"im.example.org" ドメインに対する DNS SRV の検索によって発見できます。このサービスの証明書には、"_xmpp-client.im.example.org" と "_xmpp-server.im.example.org" という SRV-ID([XMPP] を参照)、"im.example.org" という DNS-ID、そして XMPP 固有の "im.example.org" という "XmppAddr"([XMPP] を参照)が含まれる場合があります。また、展開済みのインフラストラクチャとの後方互換性のために、"im.example.org" という CN-ID が含まれる場合もあります。

5. Requesting Server Certificates

5. サーバー証明書の要求

This section provides rules and guidelines for service providers regarding the information to include in certificate signing requests (CSRs).

このセクションでは、証明書署名要求 (CSR) に含める情報に関して、サービスプロバイダー向けの規則とガイドラインを示します。

In general, service providers are encouraged to request certificates that include all of the identifier types that are required or recommended for the application service type that will be secured using the certificate to be issued.

一般に、サービスプロバイダーには、発行される証明書を使用して保護されるアプリケーションサービスタイプについて必須または推奨とされているすべての識別子タイプを含む証明書を要求することが奨励されます。

If the certificate might be used for any type of application service, then the service provider is encouraged to request a certificate that includes only a DNS-ID.

証明書があらゆるタイプのアプリケーションサービスに使用される可能性がある場合、サービスプロバイダーには、DNS-ID のみを含む証明書を要求することが奨励されます。

If the certificate will be used for only a single type of application service, then the service provider is encouraged to request a certificate that includes a DNS-ID and, if appropriate for the application service type, an SRV-ID or URI-ID that limits the deployment scope of the certificate to only the defined application service type.

証明書が単一のタイプのアプリケーションサービスにのみ使用される場合、サービスプロバイダーには、DNS-ID と、アプリケーションサービスタイプにとって適切であれば、証明書の展開範囲を定義されたアプリケーションサービスタイプのみに限定する SRV-ID または URI-ID とを含む証明書を要求することが奨励されます。

If a service provider offering multiple application service types (e.g., a World Wide Web service, an email service, and an instant messaging service) wishes to limit the applicability of certificates using SRV-IDs or URI-IDs, then the service provider is encouraged to request multiple certificates, i.e., one certificate per application service type. Conversely, the service provider is discouraged from requesting a single certificate containing multiple SRV-IDs or URI-IDs identifying each different application service type. This guideline does not apply to application service type "bundles" that are used to identify manifold distinct access methods to the same underlying application (e.g., an email application with access methods denoted by the application service types of "imap", "imaps", "pop3", "pop3s", and "submission" as described in [EMAIL-SRV]).

複数のアプリケーションサービスタイプ(例:World Wide Web サービス、電子メールサービス、インスタントメッセージングサービス)を提供するサービスプロバイダーが、SRV-ID または URI-ID を使用して証明書の適用範囲を限定したい場合、そのサービスプロバイダーには、複数の証明書、すなわちアプリケーションサービスタイプごとに1つの証明書を要求することが奨励されます。逆に、異なるアプリケーションサービスタイプのそれぞれを識別する複数の SRV-ID または URI-ID を含む単一の証明書を要求することは推奨されません。このガイドラインは、同じ基盤となるアプリケーションへの多様なアクセス方法を識別するために使用されるアプリケーションサービスタイプの「バンドル」には適用されません(例:[EMAIL-SRV] で説明されている "imap"、"imaps"、"pop3"、"pop3s"、"submission" というアプリケーションサービスタイプで示されるアクセス方法を持つ電子メールアプリケーション)。

6. Verifying Service Identity

6. サービスアイデンティティの検証

This section provides rules and guidelines for implementers of application client software regarding algorithms for verification of application service identity.

このセクションでは、アプリケーションサービスアイデンティティの検証アルゴリズムに関して、アプリケーションクライアントソフトウェアの実装者向けの規則とガイドラインを示します。

6.1. Overview

6.1. 概要

At a high level, the client verifies the application service's identity by performing the actions listed below (which are defined in the following subsections of this document): 1. The client constructs a list of acceptable reference identifiers based on the source domain and, optionally, the type of service to which the client is connecting.

大まかには、クライアントは次に示す動作(本文書の以降のサブセクションで定義します)を実行することによって、アプリケーションサービスのアイデンティティを検証します。1. クライアントは、ソースドメインと、任意でクライアントが接続しようとしているサービスのタイプとに基づいて、受け入れ可能な参照識別子のリストを構成します。

2. The server provides its identifiers in the form of a PKIX certificate.

2. サーバーは、自身の識別子を PKIX 証明書の形で提供します。

3. The client checks each of its reference identifiers against the presented identifiers for the purpose of finding a match.

3. クライアントは、一致するものを見つけるために、自身の参照識別子のそれぞれを提示識別子と照合します。

4. When checking a reference identifier against a presented identifier, the client matches the source domain of the identifiers and, optionally, their application service type.

4. 参照識別子を提示識別子と照合する際、クライアントは識別子のソースドメインと、任意でアプリケーションサービスタイプとを照合します。

Naturally, in addition to checking identifiers, a client might complete further checks to ensure that the server is authorized to provide the requested service. However, such checking is not a matter of verifying the application service identity presented in a certificate, and therefore methods for doing so (e.g., consulting local policy information) are out of scope for this document.

当然ながら、クライアントは識別子の確認に加えて、サーバーが要求されたサービスを提供することを認可されていることを確かめるために、さらなる確認を行う場合があります。しかし、そのような確認は証明書で提示されたアプリケーションサービスアイデンティティの検証の問題ではないため、その方法(例:ローカルポリシー情報の参照)は本文書の適用範囲外です。

6.2. Constructing a List of Reference Identifiers

6.2. 参照識別子のリストの構成

6.2.1. Rules

6.2.1. 規則

The client MUST construct a list of acceptable reference identifiers, and MUST do so independently of the identifiers presented by the service.

クライアントは、受け入れ可能な参照識別子のリストを構成しなければならず (MUST)、それをサービスが提示する識別子とは独立に行わなければなりません (MUST)。

The inputs used by the client to construct its list of reference identifiers might be a URI that a user has typed into an interface (e.g., an HTTPS URL for a website), configured account information (e.g., the domain name of a particular host or URI used for retrieving information or connecting to a network, which might be different from the DNS domain name portion of a username), a hyperlink in a web page that triggers a browser to retrieve a media object or script, or some other combination of information that can yield a source domain and an application service type.

クライアントが参照識別子のリストを構成するために使用する入力には、ユーザーがインターフェースに入力した URI(例:ウェブサイトの HTTPS URL)、設定されたアカウント情報(例:情報の取得やネットワークへの接続に使用する特定のホストのドメイン名や URI。これはユーザー名の DNS ドメイン名部分とは異なる場合があります)、ブラウザにメディアオブジェクトやスクリプトの取得を引き起こすウェブページ内のハイパーリンク、またはソースドメインとアプリケーションサービスタイプを得ることのできるその他の情報の組み合わせなどがあります。

The client might need to extract the source domain and application service type from the input(s) it has received. The extracted data MUST include only information that can be securely parsed out of the inputs (e.g., parsing the fully qualified DNS domain name out of the "host" component (or its equivalent) of a URI or deriving the application service type from the scheme of a URI) or information that is derived in a manner not subject to subversion by network attackers (e.g., pulling the data from a delegated domain that is explicitly established via client or system configuration, resolving the data via [DNSSEC], or obtaining the data from a third-party domain mapping service in which a human user has explicitly placed trust and with which the client communicates over a connection or association that provides both mutual authentication and integrity checking). These considerations apply only to extraction of the source domain from the inputs; naturally, if the inputs themselves are invalid or corrupt (e.g., a user has clicked a link provided by a malicious entity in a phishing attack), then the client might end up communicating with an unexpected application service.

クライアントは、受け取った入力からソースドメインとアプリケーションサービスタイプを抽出する必要がある場合があります。抽出されるデータには、入力から安全に解析できる情報(たとえば、URIの「host」コンポーネント(またはそれに相当するもの)から完全修飾DNSドメイン名を解析したり、URIのスキームからアプリケーションサービスタイプを導出したりすること)、またはネットワーク攻撃者による改ざんを受けない方法で導出された情報(たとえば、クライアントまたはシステムの設定によって明示的に確立された委任ドメインからデータを取得すること、[DNSSEC] によってデータを解決すること、あるいは人間のユーザが明示的に信頼を置き、相互認証と完全性チェックの両方を提供する接続または関連付けを介してクライアントが通信するサードパーティのドメインマッピングサービスからデータを取得すること)のみを含めなければなりません (MUST)。これらの考慮事項は、入力からのソースドメインの抽出にのみ当てはまります。当然ながら、入力自体が無効または破損している場合(たとえば、ユーザがフィッシング攻撃で悪意のある主体が提供したリンクをクリックした場合)、クライアントは予期しないアプリケーションサービスと通信してしまう可能性があります。

Example: Given an input URI of <sips:alice@example.net>, a client would derive the application service type "sip" from the "scheme" and parse the domain name "example.net" from the "host" component (or its equivalent).

例:<sips:alice@example.net> という入力 URI が与えられた場合、クライアントは "scheme" からアプリケーションサービスタイプ "sip" を導出し、"host" コンポーネント(またはそれに相当するもの)からドメイン名 "example.net" を解析することになります。

Each reference identifier in the list SHOULD be based on the source domain and SHOULD NOT be based on a derived domain (e.g., a host name or domain name discovered through DNS resolution of the source domain). This rule is important because only a match between the user inputs and a presented identifier enables the client to be sure that the certificate can legitimately be used to secure the client's communication with the server. There is only one scenario in which it is acceptable for an interactive client to override the recommendation in this rule and therefore communicate with a domain name other than the source domain: because a human user has "pinned" the application service's certificate to the alternative domain name as further discussed under Section 6.6.4 and Section 7.1. In this case, the inputs used by the client to construct its list of reference identifiers might include more than one fully qualified DNS domain name, i.e., both (a) the source domain and (b) the alternative domain contained in the pinned certificate.

リスト内の各参照識別子は、ソースドメインに基づくべきであり (SHOULD)、派生ドメイン(たとえば、ソースドメインのDNS解決によって見つかったホスト名やドメイン名)に基づくべきではありません (SHOULD NOT)。この規則が重要なのは、ユーザの入力と提示された識別子とが一致する場合にのみ、その証明書をクライアントとサーバの間の通信の保護に正当に使用できるとクライアントが確信できるからです。対話型のクライアントがこの規則の推奨事項を覆し、ソースドメイン以外のドメイン名と通信してよいシナリオは1つだけです。それは、セクション6.6.4とセクション7.1でさらに説明するように、人間のユーザがアプリケーションサービスの証明書を代替ドメイン名に「ピン留め」した場合です。この場合、クライアントが参照識別子のリストを構築するために使用する入力には、複数の完全修飾DNSドメイン名、すなわち (a) ソースドメインと (b) ピン留めされた証明書に含まれる代替ドメインの両方が含まれることがあります。

Using the combination of fully qualified DNS domain name(s) and application service type, the client constructs a list of reference identifiers in accordance with the following rules:

クライアントは、完全修飾 DNS ドメイン名とアプリケーションサービスタイプの組み合わせを使用して、次の規則に従って参照識別子のリストを構成します。

o The list SHOULD include a DNS-ID. A reference identifier of type DNS-ID can be directly constructed from a fully qualified DNS domain name that is (a) contained in or securely derived from the inputs (i.e., the source domain), or (b) explicitly associated with the source domain by means of user configuration (i.e., a derived domain).

o リストにはDNS-IDを含めるべきです (SHOULD)。DNS-IDタイプの参照識別子は、(a)入力に含まれるか安全に導出された(すなわちソースドメイン)、または(b)ユーザー設定によって明示的にソースドメインに関連付けられた(すなわち派生ドメイン)完全修飾DNSドメイン名から直接構築できます。

o If a server for the application service type is typically discovered by means of DNS SRV records, then the list SHOULD include an SRV-ID.

o アプリケーションサービスタイプのサーバーが通常DNS SRVレコードによって発見される場合、リストにはSRV-IDを含めるべきです (SHOULD)。

o If a server for the application service type is typically associated with a URI for security purposes (i.e., a formal protocol document specifies the use of URIs in server certificates), then the list SHOULD include a URI-ID.

o アプリケーションサービスタイプのサーバーが通常セキュリティ目的でURIに関連付けられている場合(すなわち、正式なプロトコル文書がサーバー証明書内でのURIの使用を指定している場合)、リストにはURI-IDを含めるべきです (SHOULD)。

o The list MAY include a CN-ID, mainly for the sake of backward compatibility with deployed infrastructure.

o 主に展開済みインフラストラクチャとの後方互換性のために、リストにはCN-IDを含めてもよいです (MAY)。

Which identifier types a client includes in its list of reference identifiers is a matter of local policy. For example, in certain deployment environments, a client that is built to connect only to a particular kind of service (e.g., only IM services) might be configured to accept as valid only certificates that include an SRV-ID for that application service type; in this case, the client would include only SRV-IDs matching the application service type in its list of reference identifiers (not, for example, DNS-IDs). By contrast, a more lenient client (even one built to connect only to a particular kind of service) might include both SRV-IDs and DNS-IDs in its list of reference identifiers.

クライアントが参照識別子のリストにどの識別子タイプを含めるかは、ローカルポリシーの問題です。たとえば、特定の展開環境では、特定の種類のサービス(例:IM サービスのみ)にのみ接続するように作られたクライアントは、そのアプリケーションサービスタイプの SRV-ID を含む証明書のみを有効として受け入れるように設定される場合があります。この場合、クライアントは参照識別子のリストに、アプリケーションサービスタイプに一致する SRV-ID のみを含める(例えば DNS-ID は含めない)ことになります。対照的に、より寛容なクライアント(特定の種類のサービスにのみ接続するように作られたものであっても)は、参照識別子のリストに SRV-ID と DNS-ID の両方を含める場合があります。

Implementation Note: It is highly likely that implementers of client software will need to support CN-IDs for the foreseeable future, because certificates containing CN-IDs are so widely deployed. Implementers are advised to monitor the state of the art with regard to certificate issuance policies and migrate away from support CN-IDs in the future if possible.

実装上の注意:CN-ID を含む証明書は非常に広く展開されているため、クライアントソフトウェアの実装者は当面の間 CN-ID をサポートする必要がある可能性が高いです。実装者には、証明書発行ポリシーに関する最新の動向を注視し、可能であれば将来的に CN-ID のサポートから移行していくことをお勧めします。

Implementation Note: The client does not need to construct the foregoing identifiers in the actual formats found in a certificate (e.g., as ASN.1 types); it only needs to construct the functional equivalent of such identifiers for matching purposes.

実装上の注意:クライアントは、前述の識別子を証明書に見られる実際の形式(例:ASN.1 型)で構成する必要はありません。照合のために、そのような識別子と機能的に同等なものを構成するだけで十分です。

Security Warning: A client MUST NOT construct a reference identifier corresponding to Relative Distinguished Names (RDNs) other than those of type Common Name and MUST NOT check for RDNs other than those of type Common Name in the presented identifiers.

セキュリティ警告:クライアントは、タイプがコモンネーム以外の相対識別名 (RDN) に対応する参照識別子を構成してはならず (MUST NOT)、提示識別子においてタイプがコモンネーム以外の RDN を確認してはなりません (MUST NOT)。

6.2.2. Examples

6.2.2. 例

A web browser that is connecting via HTTPS to the website at "www.example.com" might have two reference identifiers: a DNS-ID of "www.example.com" and, as a fallback, a CN-ID of "www.example.com".

HTTPS を介して "www.example.com" のウェブサイトに接続するウェブブラウザは、"www.example.com" という DNS-ID と、フォールバックとしての "www.example.com" という CN-ID の2つの参照識別子を持つ場合があります。

A mail user agent that is connecting via IMAPS to the email service at "example.net" (resolved as "mail.example.net") might have five reference identifiers: an SRV-ID of "_imaps.example.net" (see [EMAIL-SRV]), DNS-IDs of "example.net" and "mail.example.net", and, as a fallback, CN-IDs of "example.net" and "mail.example.net". (A legacy email user agent would not support [EMAIL-SRV] and therefore would probably be explicitly configured to connect to "mail.example.net", whereas an SRV-aware user agent would derive "example.net" from an email address of the form "user@example.net" but might also accept "mail.example.net" as the DNS domain name portion of reference identifiers for the service.)

IMAPS を介して "example.net"("mail.example.net" として解決される)の電子メールサービスに接続するメールユーザーエージェントは、"_imaps.example.net" という SRV-ID([EMAIL-SRV] を参照)、"example.net" と "mail.example.net" という DNS-ID、そしてフォールバックとしての "example.net" と "mail.example.net" という CN-ID の5つの参照識別子を持つ場合があります。(旧来の電子メールユーザーエージェントは [EMAIL-SRV] をサポートしないため、おそらく "mail.example.net" に接続するように明示的に設定されます。一方、SRV に対応したユーザーエージェントは "user@example.net" という形式の電子メールアドレスから "example.net" を導出しますが、"mail.example.net" もそのサービスの参照識別子の DNS ドメイン名部分として受け入れる場合があります。)

A voice-over-IP (VoIP) user agent that is connecting via SIP to the voice service at "voice.example.edu" might have only one reference identifier: a URI-ID of "sip:voice.example.edu" (see [SIP-CERTS]).

SIP を介して "voice.example.edu" の音声サービスに接続する Voice over IP (VoIP) ユーザーエージェントは、"sip:voice.example.edu" という URI-ID([SIP-CERTS] を参照)の1つの参照識別子のみを持つ場合があります。

An instant messaging (IM) client that is connecting via XMPP to the IM service at "im.example.org" might have three reference identifiers: an SRV-ID of "_xmpp-client.im.example.org" (see [XMPP]), a DNS-ID of "im.example.org", and an XMPP-specific "XmppAddr" of "im.example.org" (see [XMPP]).

XMPP を介して "im.example.org" の IM サービスに接続するインスタントメッセージング (IM) クライアントは、"_xmpp-client.im.example.org" という SRV-ID([XMPP] を参照)、"im.example.org" という DNS-ID、そして XMPP 固有の "im.example.org" という "XmppAddr"([XMPP] を参照)の3つの参照識別子を持つ場合があります。

6.3. Preparing to Seek a Match

6.3. 照合の準備

Once the client has constructed its list of reference identifiers and has received the server's presented identifiers in the form of a PKIX certificate, the client checks its reference identifiers against the presented identifiers for the purpose of finding a match. The search fails if the client exhausts its list of reference identifiers without finding a match. The search succeeds if any presented identifier matches one of the reference identifiers, at which point the client SHOULD stop the search.

クライアントは、参照識別子のリストを構成し、サーバーの提示識別子を PKIX 証明書の形で受け取ったら、一致するものを見つけるために、自身の参照識別子を提示識別子と照合します。クライアントが一致するものを見つけられないまま参照識別子のリストを使い切った場合、検索は失敗します。いずれかの提示識別子が参照識別子の1つと一致した場合に検索は成功し、その時点でクライアントは検索を停止すべきです (SHOULD)。

Implementation Note: A client might be configured to perform multiple searches, i.e., to match more than one reference identifier. Although such behavior is not forbidden by this specification, rules for matching multiple reference identifiers are a matter for implementation or future specification.

実装上の注意:クライアントは、複数の検索を実行する、すなわち複数の参照識別子について照合するように設定される場合があります。そのような動作は本仕様では禁止されていませんが、複数の参照識別子を照合するための規則は、実装または将来の仕様で扱う事項です。

Security Warning: A client MUST NOT seek a match for a reference identifier of CN-ID if the presented identifiers include a DNS-ID, SRV-ID, URI-ID, or any application-specific identifier types supported by the client.

セキュリティ警告:提示識別子に DNS-ID、SRV-ID、URI-ID、またはクライアントがサポートする何らかのアプリケーション固有の識別子タイプが含まれている場合、クライアントは CN-ID の参照識別子について一致を探してはなりません (MUST NOT)。

Before applying the comparison rules provided in the following sections, the client might need to split the reference identifier into its DNS domain name portion and its application service type portion, as follows:

以降のセクションで示す比較規則を適用する前に、クライアントは次のように、参照識別子を DNS ドメイン名部分とアプリケーションサービスタイプ部分に分割する必要がある場合があります。

o A reference identifier of type DNS-ID does not include an application service type portion and thus can be used directly as the DNS domain name for comparison purposes. As an example, a DNS-ID of "www.example.com" would result in a DNS domain name portion of "www.example.com".

o タイプ DNS-ID の参照識別子にはアプリケーションサービスタイプ部分が含まれないため、比較のための DNS ドメイン名としてそのまま使用できます。例として、"www.example.com" という DNS-ID からは "www.example.com" という DNS ドメイン名部分が得られます。

o A reference identifier of type CN-ID also does not include an application service type portion and thus can be used directly as the DNS domain name for comparison purposes. As previously mentioned, this document specifies that a CN-ID always contains a string whose form matches that of a DNS domain name (thus differentiating a CN-ID from a Common Name containing a human-friendly name).

o タイプ CN-ID の参照識別子にもアプリケーションサービスタイプ部分が含まれないため、比較のための DNS ドメイン名としてそのまま使用できます。前述のとおり、本文書では、CN-ID は常に DNS ドメイン名の形式に一致する文字列を含むものと規定しています(これにより、CN-ID は人間にわかりやすい名前を含むコモンネームと区別されます)。

o For a reference identifier of type SRV-ID, the DNS domain name portion is the Name and the application service type portion is the Service. As an example, an SRV-ID of "_imaps.example.net" would be split into a DNS domain name portion of "example.net" and an application service type portion of "imaps" (mapping to an application protocol of IMAP as explained in [EMAIL-SRV]).

o タイプ SRV-ID の参照識別子の場合、DNS ドメイン名部分は Name であり、アプリケーションサービスタイプ部分は Service です。例として、"_imaps.example.net" という SRV-ID は、"example.net" という DNS ドメイン名部分と、"imaps" というアプリケーションサービスタイプ部分([EMAIL-SRV] で説明されているとおり、IMAP というアプリケーションプロトコルに対応します)に分割されます。

o For a reference identifier of type URI-ID, the DNS domain name portion is the "reg-name" part of the "host" component (or its equivalent) and the application service type portion is the application service type associated with the scheme name matching the [ABNF] "scheme" rule from [URI] (not including the ':' separator). As previously mentioned, this document specifies that a URI-ID always contains a "host" component (or its equivalent) containing a "reg-name". (Matching only the "reg-name" rule from [URI] limits verification to DNS domain names, thereby differentiating a URI-ID from a uniformResourceIdentifier entry that contains an IP address or a mere host name, or that does not contain a "host" component at all.) Furthermore, note that extraction of the "reg-name" might necessitate normalization of the URI (as explained in [URI]). As an example, a URI-ID of "sip: voice.example.edu" would be split into a DNS domain name portion of "voice.example.edu" and an application service type of "sip" (associated with an application protocol of SIP as explained in [SIP-CERTS]).

o タイプ URI-ID の参照識別子の場合、DNS ドメイン名部分は "host" コンポーネント(またはそれに相当するもの)の "reg-name" 部分であり、アプリケーションサービスタイプ部分は、[URI] の [ABNF] "scheme" 規則に一致するスキーム名(区切り文字 ':' は含みません)に関連付けられたアプリケーションサービスタイプです。前述のとおり、本文書では、URI-ID は常に "reg-name" を含む "host" コンポーネント(またはそれに相当するもの)を含むものと規定しています。([URI] の "reg-name" 規則のみに一致させることで検証を DNS ドメイン名に限定し、それによって URI-ID を、IP アドレスや単なるホスト名を含む uniformResourceIdentifier エントリや、"host" コンポーネントをまったく含まない uniformResourceIdentifier エントリと区別します。)さらに、"reg-name" の抽出には([URI] で説明されているとおり)URI の正規化が必要になる場合があることに注意してください。例として、"sip: voice.example.edu" という URI-ID は、"voice.example.edu" という DNS ドメイン名部分と、"sip" というアプリケーションサービスタイプ([SIP-CERTS] で説明されているとおり、SIP というアプリケーションプロトコルに関連付けられます)に分割されます。

Detailed comparison rules for matching the DNS domain name portion and application service type portion of the reference identifier are provided in the following sections.

参照識別子の DNS ドメイン名部分とアプリケーションサービスタイプ部分を照合するための詳細な比較規則は、以降のセクションで示します。

6.4. Matching the DNS Domain Name Portion

6.4. DNSドメイン名部分の照合

The client MUST match the DNS domain name portion of a reference identifier according to the following rules (and SHOULD also check the application service type as described under Section 6.5). The rules differ depending on whether the domain to be checked is a "traditional domain name" or an "internationalized domain name" (as defined under Section 2.2). Furthermore, to meet the needs of clients that support presented identifiers containing the wildcard character '*', we define a supplemental rule for so-called "wildcard certificates". Finally, we also specify the circumstances under which it is acceptable to check the "CN-ID" identifier type.

クライアントは、次の規則に従って参照識別子のDNSドメイン名部分を照合しなければならず (MUST)、(セクション6.5で説明するように)アプリケーションサービスタイプも確認すべきです (SHOULD)。規則は、確認するドメインが(セクション2.2で定義する)「従来のドメイン名」であるか「国際化ドメイン名」であるかによって異なります。さらに、ワイルドカード文字「*」を含む提示識別子をサポートするクライアントのニーズを満たすために、いわゆる「ワイルドカード証明書」のための補足規則を定義します。最後に、「CN-ID」識別子タイプを確認してもよい状況についても規定します。

6.4.1. Checking of Traditional Domain Names

6.4.1. 従来のドメイン名の確認

If the DNS domain name portion of a reference identifier is a "traditional domain name", then matching of the reference identifier against the presented identifier is performed by comparing the set of domain name labels using a case-insensitive ASCII comparison, as clarified by [DNS-CASE] (e.g., "WWW.Example.Com" would be lower-cased to "www.example.com" for comparison purposes). Each label MUST match in order for the names to be considered to match, except as supplemented by the rule about checking of wildcard labels (Section 6.4.3).

参照識別子の DNS ドメイン名部分が「従来のドメイン名」である場合、参照識別子と提示識別子の照合は、[DNS-CASE] で明確化されているとおり、大文字と小文字を区別しない ASCII 比較を使用してドメイン名ラベルの集合を比較することによって行います(例:比較のために "WWW.Example.Com" は "www.example.com" に小文字化されます)。名前が一致するとみなされるためには、ワイルドカードラベルの確認に関する規則(セクション6.4.3)で補足される場合を除き、各ラベルが一致しなければなりません (MUST)。

6.4.2. Checking of Internationalized Domain Names

6.4.2. 国際化ドメイン名の確認

If the DNS domain name portion of a reference identifier is an internationalized domain name, then an implementation MUST convert any U-labels [IDNA-DEFS] in the domain name to A-labels before checking the domain name. In accordance with [IDNA-PROTO], A-labels MUST be compared as case-insensitive ASCII. Each label MUST match in order for the domain names to be considered to match, except as supplemented by the rule about checking of wildcard labels (Section 6.4.3; but see also Section 7.2 regarding wildcards in internationalized domain names).

参照識別子のDNSドメイン名部分が国際化ドメイン名である場合、実装は、ドメイン名を確認する前に、ドメイン名内のすべてのU-label [IDNA-DEFS] をA-labelに変換しなければなりません (MUST)。[IDNA-PROTO] に従い、A-labelは大文字と小文字を区別しないASCIIとして比較されなければなりません (MUST)。ドメイン名が一致するとみなされるためには、ワイルドカードラベルの確認に関する規則(セクション6.4.3。ただし国際化ドメイン名におけるワイルドカードについてはセクション7.2も参照)で補足される場合を除き、各ラベルが一致しなければなりません (MUST)。

6.4.3. Checking of Wildcard Certificates

6.4.3. ワイルドカード証明書の確認

A client employing this specification's rules MAY match the reference identifier against a presented identifier whose DNS domain name portion contains the wildcard character '*' as part or all of a label (following the description of labels and domain names in [DNS-CONCEPTS]).

本仕様のルールを採用するクライアントは、DNSドメイン名部分にラベルの一部またはすべてとしてワイルドカード文字 '*' が含まれる提示された識別子と参照識別子を照合してもよいです (MAY)([DNS-CONCEPTS]におけるラベルおよびドメイン名の説明に従います)。

For information regarding the security characteristics of wildcard certificates, see Section 7.2.

ワイルドカード証明書のセキュリティ特性に関する情報については、セクション7.2を参照してください。

If a client matches the reference identifier against a presented identifier whose DNS domain name portion contains the wildcard character '*', the following rules apply:

クライアントが、DNS ドメイン名部分にワイルドカード文字 '*' を含む提示識別子と参照識別子を照合する場合、次の規則が適用されます。

1. The client SHOULD NOT attempt to match a presented identifier in which the wildcard character comprises a label other than the left-most label (e.g., do not match bar.*.example.net).

1. クライアントは、ワイルドカード文字が左端のラベル以外のラベルを構成する提示された識別子を照合しようとすべきではありません (SHOULD NOT)(例えば、"bar.*.example.net" は照合しない)。

2. If the wildcard character is the only character of the left-most label in the presented identifier, the client SHOULD NOT compare against anything but the left-most label of the reference identifier (e.g., *.example.com would match foo.example.com but not bar.foo.example.com or example.com).

2. ワイルドカード文字が提示された識別子の左端のラベルの唯一の文字である場合、クライアントは参照識別子の左端のラベル以外のものと比較すべきではありません (SHOULD NOT)(例えば、"*.example.com" は "foo.example.com" に一致しますが、"bar.foo.example.com" や "example.com" には一致しません)。

3. The client MAY match a presented identifier in which the wildcard character is not the only character of the label (e.g., baz*.example.net and *baz.example.net and b*z.example.net would be taken to match baz1.example.net and foobaz.example.net and buzz.example.net, respectively). However, the client SHOULD NOT attempt to match a presented identifier where the wildcard character is embedded within an A-label or U-label [IDNA-DEFS] of an internationalized domain name [IDNA-PROTO].

3. クライアントは、ワイルドカード文字がラベルの唯一の文字ではない提示識別子を照合してもよいです (MAY)(例:baz*.example.net、*baz.example.net、b*z.example.net は、それぞれ baz1.example.net、foobaz.example.net、buzz.example.net に一致するとみなされます)。ただし、クライアントは、国際化ドメイン名 [IDNA-PROTO] の A-label または U-label [IDNA-DEFS] の中にワイルドカード文字が埋め込まれている提示識別子を照合しようとすべきではありません (SHOULD NOT)。

6.4.4. Checking of Common Names

6.4.4. コモンネームの確認

As noted, a client MUST NOT seek a match for a reference identifier of CN-ID if the presented identifiers include a DNS-ID, SRV-ID, URI-ID, or any application-specific identifier types supported by the client.

前述のとおり、提示された識別子にDNS-ID、SRV-ID、URI-ID、またはクライアントがサポートする任意のアプリケーション固有の識別子タイプが含まれている場合、クライアントはCN-IDの参照識別子の一致を求めてはなりません (MUST NOT)。

Therefore, if and only if the presented identifiers do not include a DNS-ID, SRV-ID, URI-ID, or any application-specific identifier types supported by the client, then the client MAY as a last resort check for a string whose form matches that of a fully qualified DNS domain name in a Common Name field of the subject field (i.e., a CN-ID). If the client chooses to compare a reference identifier of type CN-ID against that string, it MUST follow the comparison rules for the DNS domain name portion of an identifier of type DNS-ID, SRV-ID, or URI-ID, as described under Section 6.4.1, Section 6.4.2, and Section 6.4.3.

したがって、提示識別子に DNS-ID、SRV-ID、URI-ID、またはクライアントがサポートする何らかのアプリケーション固有の識別子タイプが含まれていない場合に限り、クライアントは最後の手段として、subject フィールドのコモンネームフィールド内にある、完全修飾 DNS ドメイン名の形式に一致する文字列(すなわち CN-ID)を確認してもよいです (MAY)。クライアントがタイプ CN-ID の参照識別子をその文字列と比較することを選択した場合、クライアントは、セクション6.4.1、セクション6.4.2、セクション6.4.3で説明されている、タイプ DNS-ID、SRV-ID、URI-ID の識別子の DNS ドメイン名部分に対する比較規則に従わなければなりません (MUST)。

6.5. Matching the Application Service Type Portion

6.5. アプリケーションサービスタイプ部分の照合

When a client checks identifiers of type SRV-ID and URI-ID, it MUST check not only the DNS domain name portion of the identifier but also the application service type portion. The client does this by splitting the identifier into the DNS domain name portion and the application service type portion (as described under Section 6.3), then checking both the DNS domain name portion (as described under Section 6.4) and the application service type portion as described in the following subsections.

クライアントがSRV-IDタイプやURI-IDタイプの識別子を確認する場合、識別子のDNSドメイン名部分だけでなく、アプリケーションサービスタイプの部分も確認しなければなりません (MUST)。クライアントはこれを、識別子を(セクション6.3で説明するとおり)DNSドメイン名部分とアプリケーションサービスタイプ部分に分割し、DNSドメイン名部分を(セクション6.4で説明するとおり)、アプリケーションサービスタイプ部分を以下のサブセクションで説明するとおりに確認することで行います。

Implementation Note: An identifier of type SRV-ID or URI-ID provides an application service type portion to be checked, but that portion is combined only with the DNS domain name portion of the SRV-ID or URI-ID itself. For example, if a client's list of reference identifiers includes an SRV-ID of "_xmpp-client.im.example.org" and a DNS-ID of "apps.example.net", the client would check (a) the combination of an application service type of "xmpp-client" and a DNS domain name of "im.example.org" and (b) a DNS domain name of "apps.example.net". However, the client would not check (c) the combination of an application service type of "xmpp-client" and a DNS domain name of "apps.example.net" because it does not have an SRV-ID of "_xmpp-client.apps.example.net" in its list of reference identifiers.

実装上の注意:タイプ SRV-ID または URI-ID の識別子は確認すべきアプリケーションサービスタイプ部分を提供しますが、その部分は当該 SRV-ID または URI-ID 自身の DNS ドメイン名部分とのみ組み合わされます。たとえば、クライアントの参照識別子のリストに "_xmpp-client.im.example.org" という SRV-ID と "apps.example.net" という DNS-ID が含まれている場合、クライアントは (a) "xmpp-client" というアプリケーションサービスタイプと "im.example.org" という DNS ドメイン名の組み合わせ、および (b) "apps.example.net" という DNS ドメイン名を確認します。しかし、クライアントは (c) "xmpp-client" というアプリケーションサービスタイプと "apps.example.net" という DNS ドメイン名の組み合わせは確認しません。参照識別子のリストに "_xmpp-client.apps.example.net" という SRV-ID が含まれていないためです。

6.5.1. SRV-ID

6.5.1. SRV-ID

The application service name portion of an SRV-ID (e.g., "imaps") MUST be matched in a case-insensitive manner, in accordance with [DNS-SRV]. Note that the "_" character is prepended to the service identifier in DNS SRV records and in SRV-IDs (per [SRVNAME]), and thus does not need to be included in any comparison.

SRV-IDのアプリケーションサービス名部分(例: "imaps")は、[DNS-SRV]に従って大文字小文字を区別しない方法で照合しなければなりません (MUST)。DNS SRVレコードおよびSRV-ID([SRVNAME]に従う)のサービス識別子には "_" 文字が先頭に付加されているため、比較に含める必要はないことに注意してください。

6.5.2. URI-ID

6.5.2. URI-ID

The scheme name portion of a URI-ID (e.g., "sip") MUST be matched in a case-insensitive manner, in accordance with [URI]. Note that the ":" character is a separator between the scheme name and the rest of the URI, and thus does not need to be included in any comparison.

URI-IDのスキーム名部分(例: "sip")は、[URI]に従って大文字小文字を区別しない方法で照合しなければなりません (MUST)。":" 文字はスキーム名とURIの残りの部分の間の区切り文字であるため、比較に含める必要はないことに注意してください。

6.6. Outcome

6.6. 結果

The outcome of the matching procedure is one of the following cases.

照合手順の結果は、次のいずれかの場合になります。

6.6.1. Case #1: Match Found

6.6.1. 場合1:一致が見つかった場合

If the client has found a presented identifier that matches a reference identifier, then the service identity check has succeeded. In this case, the client MUST use the matched reference identifier as the validated identity of the application service.

クライアントが参照識別子に一致する提示識別子を見つけた場合、サービスアイデンティティの確認は成功です。この場合、クライアントは、一致した参照識別子をアプリケーションサービスの検証済みアイデンティティとして使用しなければなりません (MUST)。

6.6.2. Case #2: No Match Found, Pinned Certificate

6.6.2. 場合2:一致が見つからず、ピン留めされた証明書がある場合

If the client does not find a presented identifier matching any of the reference identifiers but the client has previously pinned the application service's certificate to one of the reference identifiers in the list it constructed for this communication attempt (as "pinning" is explained under Section 1.8), and the presented certificate matches the pinned certificate (including the context as described under Section 7.1), then the service identity check has succeeded.

クライアントが参照識別子のいずれかに一致する提示識別子を見つけられなかったものの、以前にアプリケーションサービスの証明書を、今回の通信試行のために構成したリスト内の参照識別子の1つにピン留めしており(「ピン留め」についてはセクション1.8で説明しています)、かつ提示された証明書がピン留めされた証明書と(セクション7.1で説明するコンテキストも含めて)一致する場合、サービスアイデンティティの確認は成功です。

6.6.3. Case #3: No Match Found, No Pinned Certificate

6.6.3. 場合3:一致が見つからず、ピン留めされた証明書もない場合

If the client does not find a presented identifier matching any of the reference identifiers and the client has not previously pinned the certificate to one of the reference identifiers in the list it constructed for this communication attempt, then the client MUST proceed as described under Section 6.6.4.

クライアントが参照識別子のいずれにも一致する提示された識別子を見つけられず、かつクライアントが今回の通信試行のために構築したリスト内の参照識別子のいずれにも証明書を以前に固定(ピン留め)していない場合、クライアントはセクション6.6.4で説明されているとおりに進めなければなりません (MUST)。

6.6.4. Fallback

6.6.4. フォールバック

If the client is an interactive client that is directly controlled by a human user, then it SHOULD inform the user of the identity mismatch and automatically terminate the communication attempt with a bad certificate error; this behavior is preferable because it prevents users from inadvertently bypassing security protections in hostile situations.

クライアントが人間のユーザーによって直接制御される対話型クライアントである場合、ユーザーにIDの不一致を通知し、不正な証明書エラーで通信試行を自動的に終了すべきです (SHOULD)。この動作は、敵対的な状況においてユーザーが不注意でセキュリティ保護を回避することを防ぐため望ましいものです。

Security Warning: Some interactive clients give advanced users the option of proceeding with acceptance despite the identity mismatch, thereby "pinning" the certificate to one of the reference identifiers in the list constructed by the client for this communication attempt. Although this behavior can be appropriate in certain specialized circumstances, in general it ought to be exposed only to advanced users. Even then it needs to be handled with extreme caution, for example by first encouraging even an advanced user to terminate the communication attempt and, if the advanced user chooses to proceed anyway, by forcing the user to view the entire certification path and only then allowing the user to pin the certificate (on a temporary or permanent basis, at the user's option).

セキュリティ警告:一部の対話型クライアントは、上級ユーザーに対して、アイデンティティの不一致にもかかわらず受け入れて処理を続行する選択肢を提供しており、それによって、今回の通信試行のためにクライアントが構成したリスト内の参照識別子の1つに証明書を「ピン留め」します。この動作は特定の特殊な状況では適切な場合がありますが、一般には上級ユーザーにのみ提示されるべきものです。その場合でも、極めて慎重に扱う必要があります。たとえば、まず上級ユーザーに対しても通信試行を終了するよう促し、それでも上級ユーザーが続行を選んだ場合には、証明書パス全体を表示させたうえで初めて証明書のピン留め(ユーザーの選択により一時的または恒久的に)を許可する、といった方法です。

Otherwise, if the client is an automated application not directly controlled by a human user, then it SHOULD terminate the communication attempt with a bad certificate error and log the error appropriately. An automated application MAY provide a configuration setting that disables this behavior, but MUST enable the behavior by default.

そうでない場合で、クライアントが人間のユーザーによって直接制御されていない自動化されたアプリケーションである場合、不正な証明書エラーで通信試行を終了し、エラーを適切にログに記録すべきです (SHOULD)。自動化されたアプリケーションは、この動作を無効にする設定オプションを提供してもよいですが (MAY)、デフォルトではその動作を有効にしなければなりません (MUST)。

7. Security Considerations

7. セキュリティに関する考慮事項

7.1. Pinned Certificates

7.1. ピン留めされた証明書

As defined under Section 1.8, a certificate is said to be "pinned" to a DNS domain name when a user has explicitly chosen to associate a service's certificate with that DNS domain name despite the fact that the certificate contains some other DNS domain name (e.g., the user has explicitly approved "apps.example.net" as a domain associated with a source domain of "example.com"). The cached name association MUST take account of both the certificate presented and the context in which it was accepted or configured (where the "context" includes the chain of certificates from the presented certificate to the trust anchor, the source domain, the application service type, the service's derived domain and port number, and any other relevant information provided by the user or associated by the client).

セクション1.8で定義されているように、証明書に他のDNSドメイン名が含まれているという事実にもかかわらず、ユーザーがサービスの証明書をそのDNSドメイン名に関連付けることを明示的に選択した場合、証明書はそのDNSドメイン名に「固定(ピン留め)」されたと言われます(例えば、ユーザーが "example.com" のソースドメインに関連付けられたドメインとして "apps.example.net" を明示的に承認した場合など)。キャッシュされた名前の関連付けは、提示された証明書と、それが受け入れられたまたは設定されたコンテキストの両方を考慮しなければなりません (MUST)(ここで「コンテキスト」には、提示された証明書からトラストアンカーへの証明書チェーン、ソースドメイン、アプリケーションサービスタイプ、サービスの派生ドメインおよびポート番号、ならびにユーザーによって提供されたかクライアントによって関連付けられたその他の関連情報が含まれます)。

7.2. Wildcard Certificates

7.2. ワイルドカード証明書

This document states that the wildcard character '*' SHOULD NOT be included in presented identifiers but MAY be checked by application clients (mainly for the sake of backward compatibility with deployed infrastructure). As a result, the rules provided in this document are more restrictive than the rules for many existing application technologies (such as those excerpted under Appendix B). Several security considerations justify tightening the rules:

本ドキュメントでは、ワイルドカード文字 '*' は提示される識別子に含まれるべきではないが (SHOULD NOT)、アプリケーションクライアントによってチェックされてもよい (MAY)(主に展開済みインフラストラクチャとの後方互換性のため)と述べています。その結果、本ドキュメントで提供されるルールは、多くの既存のアプリケーション技術のルール(付録Bで抜粋されているものなど)よりも厳格になっています。いくつかのセキュリティ上の考慮事項がルールの厳格化を正当化します:

o Wildcard certificates automatically vouch for any and all host names within their domain. This can be convenient for administrators but also poses the risk of vouching for rogue or buggy hosts. See for example [Defeating-SSL] (beginning at slide 91) and [HTTPSbytes] (slides 38-40).

o ワイルドカード証明書は、そのドメイン内のあらゆるホスト名を自動的に保証します。これは管理者にとっては便利ですが、不正なホストやバグのあるホストまで保証してしまうリスクもあります。例として [Defeating-SSL](スライド91以降)および [HTTPSbytes](スライド38〜40)を参照してください。

o Specifications for existing application technologies are not clear or consistent about the allowable location of the wildcard character, such as whether it can be:

o 既存のアプリケーション技術の仕様は、ワイルドカード文字を置いてよい位置について明確でも一貫してもいません。たとえば、次のいずれが許されるのかという点です。

* only the complete left-most label (e.g., *.example.com)

* 左端のラベル全体のみ(例:*.example.com)

* some fragment of the left-most label (e.g., fo*.example.com, f*o.example.com, or *oo.example.com)

* 左端のラベルの一部(例:fo*.example.com、f*o.example.com、*oo.example.com)

* all or part of a label other than the left-most label (e.g., www.*.example.com or www.foo*.example.com)

* 左端のラベル以外のラベルの全体または一部(例:www.*.example.com、www.foo*.example.com)

* all or part of a label that identifies a so-called "public suffix" (e.g., *.co.uk or *.com)

* いわゆる「パブリックサフィックス」を識別するラベルの全体または一部(例:*.co.uk、*.com)

* included more than once in a given label (e.g., f*b*r.example.com

* 1つのラベル内に複数回含める(例:f*b*r.example.com

* included as all or part of more than one label (e.g., *.*.example.com)

* 複数のラベルの全体または一部として含める(例:*.*.example.com)

These ambiguities might introduce exploitable differences in identity checking behavior among client implementations and necessitate overly complex and inefficient identity checking algorithms.

これらのあいまいさは、クライアント実装間のアイデンティティ確認の動作に悪用可能な差異をもたらし、過度に複雑で非効率なアイデンティティ確認アルゴリズムを必要とする可能性があります。

o There is no specification that defines how the wildcard character may be embedded within the A-labels or U-labels [IDNA-DEFS] of an internationalized domain name [IDNA-PROTO]; as a result, implementations are strongly discouraged from including or attempting to check for the wildcard character embedded within the A-labels or U-labels of an internationalized domain name (e.g., "xn--kcry6tjko*.example.org"). Note, however, that a presented domain name identifier MAY contain the wildcard character as long as that character occupies the entire left-most label position, where all of the remaining labels are valid NR-LDH labels, A-labels, or U-labels (e.g., "*.xn--kcry6tjko.example.org").

o 国際化ドメイン名 [IDNA-PROTO] のA-labelまたはU-label [IDNA-DEFS] 内にワイルドカード文字をどのように埋め込むかを定義する仕様はありません。その結果、実装が国際化ドメイン名のA-labelまたはU-label内に埋め込まれたワイルドカード文字を含めたりチェックしようとしたりすることは強く非推奨とされます(例えば "xn--kcry6tjko*.example.org" など)。ただし、提示されたドメイン名識別子は、その文字が完全な左端のラベル位置を占め、残りのラベルがすべて有効なNR-LDHラベル、A-label、またはU-labelである限り、ワイルドカード文字を含めてもよいことに注意してください (MAY)(例えば "*.xn--kcry6tjko.example.org" など)。

Notwithstanding the foregoing security considerations, specifications that reuse this one can legitimately encourage continued support for the wildcard character if they have good reasons to do so, such as backward compatibility with deployed infrastructure (see, for example, [EV-CERTS]).

前述のセキュリティ上の考慮事項にかかわらず、本仕様を再利用する仕様は、展開済みのインフラストラクチャとの後方互換性など、そうする十分な理由があれば、ワイルドカード文字の継続的なサポートを正当に奨励できます(例として [EV-CERTS] を参照してください)。

7.3. Internationalized Domain Names

7.3. 国際化ドメイン名

Allowing internationalized domain names can lead to the inclusion of visually similar (so-called "confusable") characters in certificates; for discussion, see for example [IDNA-DEFS].

国際化ドメイン名を許可すると、視覚的に類似した(いわゆる「紛らわしい (confusable)」)文字が証明書に含まれることにつながる可能性があります。議論については、例として [IDNA-DEFS] を参照してください。

7.4. Multiple Identifiers

7.4. 複数の識別子

A given application service might be addressed by multiple DNS domain names for a variety of reasons, and a given deployment might service multiple domains (e.g., in so-called "virtual hosting" environments). In the default TLS handshake exchange, the client is not able to indicate the DNS domain name with which it wants to communicate, and the TLS server returns only one certificate for itself. Absent an extension to TLS, a typical workaround used to facilitate mapping an application service to multiple DNS domain names is to embed all of the domain names into a single certificate.

1つのアプリケーションサービスがさまざまな理由で複数の DNS ドメイン名で指し示される場合があり、また1つの展開が複数のドメインにサービスを提供する場合があります(例:いわゆる「バーチャルホスティング」環境)。デフォルトの TLS ハンドシェイクのやり取りでは、クライアントは通信したい DNS ドメイン名を示すことができず、TLS サーバーは自身について1つの証明書しか返しません。TLS の拡張がない場合、アプリケーションサービスを複数の DNS ドメイン名に対応付けやすくするために使われる典型的な回避策は、すべてのドメイン名を単一の証明書に埋め込むことです。

A more recent approach, formally specified in [TLS-EXT], is for the client to use the TLS "Server Name Indication" (SNI) extension when sending the client_hello message, stipulating the DNS domain name it desires or expects of the service. The service can then return the appropriate certificate in its Certificate message, and that certificate can represent a single DNS domain name.

[TLS-EXT] で正式に規定された、より新しいアプローチは、クライアントが client_hello メッセージを送信する際に TLS の「Server Name Indication」(SNI) 拡張を使用し、サービスに求める、または期待する DNS ドメイン名を指定するというものです。これによりサービスは、Certificate メッセージで適切な証明書を返すことができ、その証明書は単一の DNS ドメイン名を表すものにできます。

To accommodate the workaround that was needed before the development of the SNI extension, this specification allows multiple DNS-IDs, SRV-IDs, or URI-IDs in a certificate; however, it explicitly discourages multiple CN-IDs. Although it would be preferable to forbid multiple CN-IDs entirely, there are several reasons at this time why this specification states that they SHOULD NOT (instead of MUST NOT) be included:

SNI拡張の開発前に必要であった回避策に対応するため、本仕様は証明書内の複数のDNS-ID、SRV-ID、またはURI-IDを許可します。ただし、複数のCN-IDは明示的に非推奨とします。複数のCN-IDを完全に禁止することが望ましいですが、現時点で本仕様がそれらを含めるべきではない (SHOULD NOT)(含めてはならない (MUST NOT) ではなく)と述べている理由はいくつかあります:

o At least one significant technology community of interest explicitly allows multiple CN-IDs [EV-CERTS].

o 少なくとも1つの重要な技術コミュニティが、複数のCN-IDを明示的に許可しています [EV-CERTS]。

o At least one significant certification authority is known to issue certificates containing multiple CN-IDs.

o 少なくとも1つの重要な認証局が、複数のCN-IDを含む証明書を発行していることが知られています。

o Many service providers often deem inclusion of multiple CN-IDs necessary in virtual hosting environments because at least one widely deployed operating system does not yet support the SNI extension.

o 広く展開されているオペレーティングシステムの少なくとも1つがまだSNI拡張をサポートしていないため、多くのサービスプロバイダーは、仮想ホスティング環境では複数のCN-IDを含めることが必要だと考えることがよくあります。

It is hoped that the recommendation regarding multiple CN-IDs can be further tightened in the future.

複数のCN-IDに関する推奨事項は、将来さらに厳格化できることが期待されています。

8. Contributors

8. 貢献者

The following individuals made important contributions to the text of this document: Shumon Huque, RL 'Bob' Morgan, and Kurt Zeilenga.

次の個人は、この文書のテキストに重要な貢献をしました:Shumon Huque、RL 'Bob' Morgan、およびKurt Zeilenga。

9. Acknowledgements

9. 謝辞

The editors and contributors wish to thank the following individuals for their feedback and suggestions: Bernard Aboba, Richard Barnes, Uri Blumenthal, Nelson Bolyard, Kaspar Brand, Anthony Bryan, Scott Cantor, Wan-Teh Chang, Bil Corry, Dave Cridland, Dave Crocker, Cyrus Daboo, Charles Gardiner, Philip Guenther, Phillip Hallam-Baker, Bruno Harbulot, Wes Hardaker, David Harrington, Paul Hoffman, Love Hornquist Astrand, Henry Hotz, Russ Housley, Jeffrey Hutzelman, Cullen Jennings, Simon Josefsson, Geoff Keating, John Klensin, Scott Lawrence, Matt McCutchen, Alexey Melnikov, Subramanian Moonesamy, Eddy Nigg, Ludwig Nussel, Joe Orton, Tom Petch, Yngve N. Pettersen, Tim Polk, Robert Relyea, Eric Rescorla, Pete Resnick, Martin Rex, Joe Salowey, Stefan Santesson, Jim Schaad, Rob Stradling, Michael Stroeder, Andrew Sullivan, Peter Sylvester, Martin Thomson, Paul Tiemann, Sean Turner, Nicolas Williams, Dan Wing, Dan Winship, and Stefan Winter.

編集者と貢献者は、フィードバックと提案をいただいた次の方々に感謝します: Bernard Aboba, Richard Barnes, Uri Blumenthal, Nelson Bolyard, Kaspar Brand, Anthony Bryan, Scott Cantor, Wan-Teh Chang, Bil Corry, Dave Cridland, Dave Crocker, Cyrus Daboo, Charles Gardiner, Philip Guenther, Phillip Hallam-Baker, Bruno Harbulot, Wes Hardaker, David Harrington, Paul Hoffman, Love Hornquist Astrand, Henry Hotz, Russ Housley, Jeffrey Hutzelman, Cullen Jennings, Simon Josefsson, Geoff Keating, John Klensin, Scott Lawrence, Matt McCutchen, Alexey Melnikov, Subramanian Moonesamy, Eddy Nigg, Ludwig Nussel, Joe Orton, Tom Petch, Yngve N. Pettersen, Tim Polk, Robert Relyea, Eric Rescorla, Pete Resnick, Martin Rex, Joe Salowey, Stefan Santesson, Jim Schaad, Rob Stradling, Michael Stroeder, Andrew Sullivan, Peter Sylvester, Martin Thomson, Paul Tiemann, Sean Turner, Nicolas Williams, Dan Wing, Dan Winship, Stefan Winter。

Thanks also to Barry Leiba and Ben Campbell for their reviews on behalf of the Security Directorate and the General Area Review Team, respectively.

また、Security Directorate と General Area Review Team をそれぞれ代表してレビューしてくれた Barry Leiba と Ben Campbell にも感謝します。

The responsible Area Director was Alexey Melnikov.

担当のエリアディレクターは Alexey Melnikov でした。

10. References

10. 参考文献

10.1. Normative References

10.1. 引用文献

[DNS-CONCEPTS] Mockapetris, P., "Domain names - concepts and facilities", STD 13, RFC 1034, November 1987.

[DNS-CONCEPTS] Mockapetris, P.、「ドメイン名 - 概念と施設」、STD 13、RFC 1034、1987年11月。

[DNS-SRV] Gulbrandsen, A., Vixie, P., and L. Esibov, "A DNS RR for specifying the location of services (DNS SRV)", RFC 2782, February 2000.

[DNS-SRV] Gulbrandsen, A., Vixie, P., and L. Esibov、「サービスの場所を指定するためのDNS RR(DNS SRV)」、RFC 2782、2000年2月。

[IDNA-DEFS] Klensin, J., "Internationalized Domain Names for Applications (IDNA): Definitions and Document Framework", RFC 5890, August 2010.

[IDNA-DEFS] Klensin, J.、「アプリケーションの国際化ドメイン名(IDNA):定義とドキュメントフレームワーク」、RFC 5890、2010年8月。

[IDNA-PROTO] Klensin, J., "Internationalized Domain Names in Applications (IDNA): Protocol", RFC 5891, August 2010.

[IDNA-PROTO] Klensin, J.、「アプリケーションの国際化ドメイン名(IDNA):プロトコル」、RFC 5891、2010年8月。

[KEYWORDS] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[KEYWORDS] Bradner, S.、「要件レベルを示すためにRFCで使用するためのキーワード」、BCP 14、RFC 2119、1997年3月。

[LDAP-DN] Zeilenga, K., Ed., "Lightweight Directory Access Protocol (LDAP): String Representation of Distinguished Names", RFC 4514, June 2006.

[LDAP-DN] Zeilenga, K., Ed.、「Lightweight Directory Access Protocol(LDAP):著名な名前の文字列表現」、RFC 4514、2006年6月。

[PKIX] Cooper, D., Santesson, S., Farrell, S., Boeyen, S., Housley, R., and W. Polk, "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", RFC 5280, May 2008.

[PKIX] Cooper, D., Santesson, S., Farrell, S., Boeyen, S., Housley, R., and W. Polk、「Internet X.509公開キーインフラストラクチャ証明書および証明書取消リスト(CRL)プロファイル"、RFC 5280、2008年5月。

[SRVNAME] Santesson, S., "Internet X.509 Public Key Infrastructure Subject Alternative Name for Expression of Service Name", RFC 4985, August 2007.

[SRVNAME] Santesson, S.、「インターネットX.509公開キーインフラストラクチャの主題サービス名の表現の代替名」、RFC 4985、2007年8月。

[URI] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, January 2005.

[URI] Berners-Lee, T., Fielding, R., and L. Masinter、「Uniform Resource Identifier(URI):Generic Syntax」、Std 66、RFC 3986、2005年1月。

10.2. Informative References

10.2. 参考引用

[ABNF] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, January 2008.

[ABNF] Crocker, D., Ed. and P. Overell、「構文仕様のためのBNFの増強:ABNF」、STD 68、RFC 5234、2008年1月。

[DNS-CASE] Eastlake 3rd, D., "Domain Name System (DNS) Case Insensitivity Clarification", RFC 4343, January 2006.

[DNS-CASE] Eastlake 3rd, D.、「ドメイン名システム(DNS)ケースの無感覚の明確化」、RFC 4343、2006年1月。

[DNSSEC] Arends, R., Austein, R., Larson, M., Massey, D., and S. Rose, "DNS Security Introduction and Requirements", RFC 4033, March 2005.

[DNSSEC] Arends, R., Austein, R., Larson, M., Massey, D., and S. Rose、「DNSセキュリティの紹介と要件」、RFC 4033、2005年3月。

[DTLS] Rescorla, E. and N. Modadugu, "Datagram Transport Layer Security", RFC 4347, April 2006.

[DTLS] Rescorla, E. and N. Modadugu、「Datagram Transport Layer Security」、RFC 4347、2006年4月。

[Defeating-SSL] Marlinspike, M., "New Tricks for Defeating SSL in Practice", BlackHat DC, February 2009, <http://www.blackhat.com/presentations/ bh-dc-09/Marlinspike/ BlackHat-DC-09-Marlinspike-Defeating-SSL.pdf>.

[Defeating-SSL] Marlinspike, M.、「実際にSSLを倒すための新しいトリック」、ブラックハットDC、2009年2月、<http://www.blackhat.com/presentations/bh-dc-09/Marlinspike/BlackHat-DC-09-Marlinspike-Defeating-SSL.pdf>。

[EMAIL-SRV] Daboo, C., "Use of SRV Records for Locating Email Submission/Access Services", RFC 6186, March 2011.

[EMAIL-SRV] Daboo, C.、「電子メールの提出/アクセスサービスを見つけるためのSRVレコードの使用」、RFC 6186、2011年3月。

[EV-CERTS] CA/Browser Forum, "Guidelines For The Issuance And Management Of Extended Validation Certificates", October 2009, <http://www.cabforum.org/Guidelines_v1_2.pdf>.

[EV-CERTS] CA/Browser Forum、「拡張検証証明書の発行と管理のガイドライン」、2009年10月、<http://www.cabforum.org/Guidelines_v1_2.pdf>。

[GIST] Schulzrinne, H. and R. Hancock, "GIST: General Internet Signalling Transport", RFC 5971, October 2010.

[GIST] Schulzrinne, H. and R. Hancock、「Gist:General Internet Signaling Transport」、RFC 5971、2010年10月。

[HTTP] Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P., and T. Berners-Lee, "Hypertext Transfer Protocol -- HTTP/1.1", RFC 2616, June 1999.

[HTTP] Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P., and T. Berners-Lee、「HyperText Transfer Protocol-HTTP/1.1」、RFC 2616、1999年6月。

[HTTP-TLS] Rescorla, E., "HTTP Over TLS", RFC 2818, May 2000.

[HTTP-TLS] Rescorla, E.、「TLS上のHTTP」、RFC 2818、2000年5月。

[HTTPSbytes] Sokol, J. and R. Hansen, "HTTPS Can Byte Me", BlackHat Abu Dhabi, November 2010, <https://media.blackhat.com/bh-ad-10/Hansen/ Blackhat-AD-2010-Hansen-Sokol-HTTPS-Can-Byte-Me-slides.pdf>.

[HTTPSbytes] Sokol, J. and R. Hansen, "HTTPS Can Byte Me", BlackHat Abu Dhabi, November 2010, <https://media.blackhat.com/bh-ad-10/Hansen/Blackhat-AD-2010-Hansen-Sokol-HTTPS-Can-Byte-Me-slides.pdf>.

[IDNA2003] Faltstrom, P., Hoffman, P., and A. Costello, "Internationalizing Domain Names in Applications (IDNA)", RFC 3490, March 2003.

[IDNA2003] Faltstrom, P., Hoffman, P., and A. Costello、「アプリケーションの国際化ドメイン名(IDNA)」、RFC 3490、2003年3月。

[IMAP] Crispin, M., "INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1", RFC 3501, March 2003.

[IMAP] Crispin, M.、「インターネットメッセージアクセスプロトコル -バージョン4REV1」、RFC 3501、2003年3月。

[IP] Postel, J., "Internet Protocol", STD 5, RFC 791, September 1981.

[IP] Postel, J.、「インターネットプロトコル」、STD 5、RFC 791、1981年9月。

[IPSEC] Kent, S. and K. Seo, "Security Architecture for the Internet Protocol", RFC 4301, December 2005.

[IPSEC] Kent, S. and K. Seo、「インターネットプロトコルのセキュリティアーキテクチャ」、RFC 4301、2005年12月。

[IPv6] Deering, S. and R. Hinden, "Internet Protocol, Version 6 (IPv6) Specification", RFC 2460, December 1998.

[IPv6] Deering, S. and R. Hinden、「Internet Protocol、バージョン6(IPv6)仕様」、RFC 2460、1998年12月。

[LDAP] Sermersheim, J., "Lightweight Directory Access Protocol (LDAP): The Protocol", RFC 4511, June 2006.

[LDAP] Sermersheim, J.、「Lightweight Directory Access Protocol(LDAP):The Protocol」、RFC 4511、2006年6月。

[LDAP-AUTH] Harrison, R., "Lightweight Directory Access Protocol (LDAP): Authentication Methods and Security Mechanisms", RFC 4513, June 2006.

[LDAP-AUTH] Harrison, R.、「Lightweight Directory Access Protocol(LDAP):認証方法とセキュリティメカニズム」、RFC 4513、2006年6月。

[LDAP-SCHEMA] Sciberras, A., Ed., "Lightweight Directory Access Protocol (LDAP): Schema for User Applications", RFC 4519, June 2006.

[LDAP-SCHEMA] Sciberras, A., Ed.、「Lightweight Directory Access Protocol(LDAP):ユーザーアプリケーションのスキーマ」、RFC 4519、2006年6月。

[LDAP-TLS] Hodges, J., Morgan, R., and M. Wahl, "Lightweight Directory Access Protocol (v3): Extension for Transport Layer Security", RFC 2830, May 2000.

[LDAP-TLS] Hodges, J., Morgan, R., and M. Wahl、「Lightweight Directory Access Protocol(V3):輸送層のセキュリティの拡張」、RFC 2830、2000年5月。

[NAPTR] Mealling, M., "Dynamic Delegation Discovery System (DDDS) Part Three: The Domain Name System (DNS) Database", RFC 3403, October 2002.

[NAPTR] Mealling, M.、「動的委任発見システム(DDDS)パート3:ドメイン名システム(DNS)データベース」、RFC 3403、2002年10月。

[NETCONF] Enns, R., Ed., "NETCONF Configuration Protocol", RFC 4741, December 2006.

[NETCONF] Enns, R., Ed.、「NetConf Configuration Protocol」、RFC 4741、2006年12月。

[NETCONF-SSH] Wasserman, M. and T. Goddard, "Using the NETCONF Configuration Protocol over Secure SHell (SSH)", RFC 4742, December 2006.

[NETCONF-SSH] Wasserman, M. and T. Goddard、「Secure Shell(SSH)を介したNetConf構成プロトコルを使用」、RFC 4742、2006年12月。

[NETCONF-TLS] Badra, M., "NETCONF over Transport Layer Security (TLS)", RFC 5539, May 2009.

[NETCONF-TLS] Badra, M.、「NetConf Over Transport Layer Security(TLS)」、RFC 5539、2009年5月。

[NNTP] Feather, C., "Network News Transfer Protocol (NNTP)", RFC 3977, October 2006.

[NNTP] Feather, C.、「ネットワークニュース転送プロトコル(NNTP)」、RFC 3977、2006年10月。

[NNTP-TLS] Murchison, K., Vinocur, J., and C. Newman, "Using Transport Layer Security (TLS) with Network News Transfer Protocol (NNTP)", RFC 4642, October 2006.

[NNTP-TLS] Murchison, K., Vinocur, J., and C. Newman、「Network News Transfer Protocol(NNTP)を使用したTransport Layer Security(TLS)を使用」、RFC 4642、2006年10月。

[OCSP] Myers, M., Ankney, R., Malpani, A., Galperin, S., and C. Adams, "X.509 Internet Public Key Infrastructure Online Certificate Status Protocol - OCSP", RFC 2560, June 1999.

[OCSP] Myers, M., Ankney, R., Malpani, A., Galperin, S., and C. Adams、「X.509インターネット公開キーインフラストラクチャオンライン証明書ステータスプロトコル」、RFC 2560、1999年6月。

[OPENPGP] Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R. Thayer, "OpenPGP Message Format", RFC 4880, November 2007.

[OPENPGP] Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R. Thayer、「OpenPGPメッセージ形式」、RFC 4880、2007年11月。

[PKIX-OLD] Housley, R., Ford, W., Polk, T., and D. Solo, "Internet X.509 Public Key Infrastructure Certificate and CRL Profile", RFC 2459, January 1999.

[PKIX-OLD] Housley, R., Ford, W., Polk, T., and D. Solo、「インターネットX.509公開キーインフラストラクチャ証明書とCRLプロファイル」、RFC 2459、1999年1月。

[POP3] Myers, J. and M. Rose, "Post Office Protocol - Version 3", STD 53, RFC 1939, May 1996.

[POP3] Myers, J. and M. Rose、「郵便局プロトコル - バージョン3」、STD 53、RFC 1939、1996年5月。

[PRIVATE] Rekhter, Y., Moskowitz, R., Karrenberg, D., Groot, G., and E. Lear, "Address Allocation for Private Internets", BCP 5, RFC 1918, February 1996.

[PRIVATE] Rekhter, Y., Moskowitz, R., Karrenberg, D., Groot, G., and E. Lear、「Private Internetsのアドレス割り当て」、BCP 5、RFC 1918、1996年2月。

[S-NAPTR] Daigle, L. and A. Newton, "Domain-Based Application Service Location Using SRV RRs and the Dynamic Delegation Discovery Service (DDDS)", RFC 3958, January 2005.

[S-NAPTR] Daigle, L. and A. Newton、「SRV RRSおよびDynamic Derigation Discovery Service(DDDS)を使用したドメインベースのアプリケーションサービスの場所」、RFC 3958、2005年1月。

[SECTERMS] Shirey, R., "Internet Security Glossary, Version 2", RFC 4949, August 2007.

[SECTERMS] Shirey, R.、「インターネットセキュリティ用語集、バージョン2」、RFC 4949、2007年8月。

[SIP] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, "SIP: Session Initiation Protocol", RFC 3261, June 2002.

[SIP] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler、「SIP:SESSION INTIATION Protocol」、RFC 3261、2002年6月。

[SIP-CERTS] Gurbani, V., Lawrence, S., and A. Jeffrey, "Domain Certificates in the Session Initiation Protocol (SIP)", RFC 5922, June 2010.

[SIP-CERTS] Gurbani, V., Lawrence, S., and A. Jeffrey、「セッション開始プロトコル(SIP)のドメイン証明書」、RFC 5922、2010年6月。

[SIP-SIPS] Audet, F., "The Use of the SIPS URI Scheme in the Session Initiation Protocol (SIP)", RFC 5630, October 2009.

[SIP-SIPS] Audet, F.、「セッション開始プロトコル(SIP)でのSIPS URIスキームの使用」、RFC 5630、2009年10月。

[SMTP] Klensin, J., "Simple Mail Transfer Protocol", RFC 5321, October 2008.

[SMTP] Klensin, J.、「Simple Mail Transfer Protocol」、RFC 5321、2008年10月。

[SMTP-AUTH] Siemborski, R., Ed. and A. Melnikov, Ed., "SMTP Service Extension for Authentication", RFC 4954, July 2007.

[SMTP-AUTH] Siemborski, R., Ed. and A. Melnikov, Ed.、「認証のためのSMTPサービス拡張」、RFC 4954、2007年7月。

[SMTP-TLS] Hoffman, P., "SMTP Service Extension for Secure SMTP over Transport Layer Security", RFC 3207, February 2002.

[SMTP-TLS] Hoffman, P.、「輸送層セキュリティ上の安全なSMTPのSMTPサービス拡張」、RFC 3207、2002年2月。

[SNMP] Harrington, D., Presuhn, R., and B. Wijnen, "An Architecture for Describing Simple Network Management Protocol (SNMP) Management Frameworks", STD 62, RFC 3411, December 2002.

[SNMP] Harrington, D., Presuhn, R., and B. Wijnen、「単純なネットワーク管理プロトコル(SNMP)管理フレームワークを説明するためのアーキテクチャ」、STD 62、RFC 3411、2002年12月。

[SNMP-TLS] Hardaker, W., "Transport Layer Security (TLS) Transport Model for the Simple Network Management Protocol (SNMP)", RFC 5953, August 2010.

[SNMP-TLS] Hardaker, W.、「シンプルネットワーク管理プロトコル(SNMP)の輸送層セキュリティ(TLS)輸送モデル」、RFC 5953、2010年8月。

[SYSLOG] Gerhards, R., "The Syslog Protocol", RFC 5424, March 2009.

[SYSLOG] Gerhards, R.、「Syslog Protocol」、RFC 5424、2009年3月。

[SYSLOG-DTLS] Salowey, J., Petch, T., Gerhards, R., and H. Feng, "Datagram Transport Layer Security (DTLS) Transport Mapping for Syslog", RFC 6012, October 2010.

[SYSLOG-DTLS] Salowey, J., Petch, T., Gerhards, R., and H. Feng、「Syslog用のデータグラム輸送層セキュリティ(DTLS)輸送マッピング」、RFC 6012、2010年10月。

[SYSLOG-TLS] Miao, F., Ed., Ma, Y., Ed., and J. Salowey, Ed., "Transport Layer Security (TLS) Transport Mapping for Syslog", RFC 5425, March 2009.

[SYSLOG-TLS] Miao, F., Ed., Ma, Y., Ed., and J. Salowey, Ed.、「輸送層セキュリティ(TLS)Syslog用輸送マッピング」、RFC 5425、2009年3月。

[TLS] Dierks, T. and E. Rescorla, "The Transport Layer Security (TLS) Protocol Version 1.2", RFC 5246, August 2008.

[TLS] Dierks, T. and E. Rescorla、「The Transport Layer Security(TLS)Protocolバージョン1.2」、RFC 5246、2008年8月。

[TLS-EXT] Eastlake 3rd, D., "Transport Layer Security (TLS) Extensions: Extension Definitions", RFC 6066, January 2011.

[TLS-EXT] Eastlake 3rd, D.、「輸送層セキュリティ(TLS)拡張:拡張定義」、RFC 6066、2011年1月。

[US-ASCII] American National Standards Institute, "Coded Character Set - 7-bit American Standard Code for Information Interchange", ANSI X3.4, 1986.

[US-ASCII] American National Standards Institute、「コード化された文字セット-7ビットの情報インターチェンジのためのアメリカ標準コード」、ANSI X3.4、1986。

[USINGTLS] Newman, C., "Using TLS with IMAP, POP3 and ACAP", RFC 2595, June 1999.

[USINGTLS] Newman, C.、「IMAP、POP3およびACAPでTLSを使用」、RFC 2595、1999年6月。

[WSC-UI] Saldhana, A. and T. Roessler, "Web Security Context: User Interface Guidelines", World Wide Web Consortium LastCall WD-wsc-ui-20100309, March 2010, <http://www.w3.org/TR/2010/WD-wsc-ui-20100309>.

[WSC-UI] Saldhana, A. and T. Roessler、「Webセキュリティコンテキスト:ユーザーインターフェイスガイドライン」、World Wide Web Consortium LastCall WD-WSC-UI-20100309、2010年3月、<http://www.w3.org/TR/2010/WD-wsc-ui-20100309>。

[X.500] International Telecommunications Union, "Information Technology - Open Systems Interconnection - The Directory: Overview of concepts, models and services", ITU-T Recommendation X.500, ISO Standard 9594-1, August 2005.

[X.500] International Telecommunications Union、「情報技術 - オープンシステムの相互接続 - ディレクトリ:概念、モデル、サービスの概要」、ITU -T推奨X.500、ISO Standard 9594-1、2005年8月。

[X.501] International Telecommunications Union, "Information Technology - Open Systems Interconnection - The Directory: Models", ITU-T Recommendation X.501, ISO Standard 9594-2, August 2005.

[X.501] International Telecommunications Union、「情報技術 - オープンシステムの相互接続 - ディレクトリ:モデル」、ITU -T推奨X.501、ISO Standard 9594-2、2005年8月。

[X.509] International Telecommunications Union, "Information Technology - Open Systems Interconnection - The Directory: Public-key and attribute certificate frameworks", ITU-T Recommendation X.509, ISO Standard 9594-8, August 2005.

[X.509] International Telecommunications Union、「情報技術 - オープンシステムの相互接続 - ディレクトリ:パブリックキーおよび属性証明書フレームワーク」、ITU-T推奨X.509、ISO Standard 9594-8、2005年8月。

[X.520] International Telecommunications Union, "Information Technology - Open Systems Interconnection - The Directory: Selected attribute types", ITU-T Recommendation X.509, ISO Standard 9594-6, August 2005.

[X.520] International Telecommunications Union、「情報技術 - オープンシステムの相互接続 - ディレクトリ:選択された属性タイプ」、ITU -T推奨X.509、ISO Standard 9594-6、2005年8月。

[X.690] International Telecommunications Union, "Information Technology - ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)", ITU-T Recommendation X.690, ISO Standard 8825-1, August 2008.

[X.690] International Telecommunications Union、「情報技術-ASN.1エンコーディングルール:基本エンコードルール(BER)、標準エンコードルール(CER)および識別済みエンコードルール(DER)の仕様」、ITU -T推奨X.690、ISO Standard 8825-1、2008年8月。

[XMPP] Saint-Andre, P., "Extensible Messaging and Presence Protocol (XMPP): Core", RFC 6120, March 2011.

[XMPP] Saint-Andre, P.、「拡張可能なメッセージとプレゼンスプロトコル(XMPP):Core」、RFC 6120、2011年3月。

[XMPP-OLD] Saint-Andre, P., Ed., "Extensible Messaging and Presence Protocol (XMPP): Core", RFC 3920, October 2004.

[XMPP-OLD] Saint-Andre, P., Ed.、「Extensibleメッセージングとプレゼンスプロトコル(XMPP):Core」、RFC 3920、2004年10月。

Appendix A. Sample Text

付録A. サンプルテキスト

At the time of this writing, two application technologies reuse the recommendations in this specification: email [EMAIL-SRV] and XMPP [XMPP]. Here we include the text from [XMPP] to illustrate the thought process that might be followed by protocol designers for other application technologies. Specifically, because XMPP uses DNS SRV records for resolution of the DNS domain names for application services, the XMPP specification recommends the use of SRV-IDs.

本文書の執筆時点で、本仕様の推奨事項を再利用しているアプリケーション技術は、電子メール [EMAIL-SRV] と XMPP [XMPP] の2つです。ここでは、他のアプリケーション技術のプロトコル設計者がたどりうる思考過程を示すために、[XMPP] のテキストを掲載します。具体的には、XMPP はアプリケーションサービスの DNS ドメイン名の解決に DNS SRV レコードを使用するため、XMPP 仕様は SRV-ID の使用を推奨しています。

The text regarding certificate issuance is as follows:

証明書発行に関するテキストは次のとおりです。

   ######
        

In a PKIX certificate to be presented by an XMPP server (i.e., a "server certificate"), the certificate MUST include one or more XMPP addresses (i.e., domainparts) associated with XMPP services hosted at the server. The rules and guidelines defined in [this specification] apply to XMPP server certificates, with the following XMPP-specific considerations:

XMPPサーバーによって提示されるPKIX証明書(すなわち「サーバー証明書」)において、証明書には、そのサーバーでホストされるXMPPサービスに関連付けられた1つ以上のXMPPアドレス(すなわちdomainpart)を含めなければなりません (MUST)。[本仕様] で定義されているルールとガイドラインはXMPPサーバー証明書に適用されますが、次のXMPP固有の考慮事項があります。

o Support for the DNS-ID identifier type [PKIX] is REQUIRED in XMPP client and server software implementations. Certification authorities that issue XMPP-specific certificates MUST support the DNS-ID identifier type. XMPP service providers SHOULD include the DNS-ID identifier type in certificate requests.

o DNS-ID識別子タイプ [PKIX] のサポートは、XMPPクライアントおよびサーバーソフトウェアの実装において必須です (REQUIRED)。XMPP固有の証明書を発行する認証局は、DNS-ID識別子タイプをサポートしなければなりません (MUST)。XMPPサービスプロバイダーは、証明書要求にDNS-ID識別子タイプを含めるべきです (SHOULD)。

o Support for the SRV-ID identifier type [SRVNAME] is REQUIRED for XMPP client and server software implementations (for verification purposes XMPP client implementations need to support only the "_xmpp-client" application service type, whereas XMPP server implementations need to support both the "_xmpp-client" and "_xmpp-server" application service types). Certification authorities that issue XMPP-specific certificates SHOULD support the SRV-ID identifier type. XMPP service providers SHOULD include the SRV-ID identifier type in certificate requests.

o XMPPのクライアントおよびサーバのソフトウェア実装には、SRV-ID識別子タイプ [SRVNAME] のサポートが必須です (REQUIRED)(検証の目的では、XMPPクライアント実装は「_xmpp-client」アプリケーションサービスタイプのみをサポートすればよく、XMPPサーバ実装は「_xmpp-client」と「_xmpp-server」の両方のアプリケーションサービスタイプをサポートする必要があります)。XMPP固有の証明書を発行する認証局は、SRV-ID識別子タイプをサポートすべきです (SHOULD)。XMPPサービスプロバイダは、証明書の要求にSRV-ID識別子タイプを含めるべきです (SHOULD)。

o Support for the XmppAddr identifier type is encouraged in XMPP client and server software implementations for the sake of backward-compatibility, but is no longer encouraged in certificates issued by certification authorities or requested by XMPP service providers.

o XmppAddr識別子タイプのサポートは、後方互換性のためにXMPPクライアントおよびサーバーソフトウェアの実装では奨励されますが、認証局が発行する証明書やXMPPサービスプロバイダーが要求する証明書では、もはや奨励されません。

o DNS domain names in server certificates MAY contain the wildcard character '*' as the complete left-most label within the identifier.

o サーバー証明書内のDNSドメイン名には、識別子内の左端のラベル全体としてワイルドカード文字 '*' を含めてもよいです (MAY)。

   ######
        

The text regarding certificate verification is as follows:

証明書の検証に関する記述は次のとおりです:

   ######
        

For server certificates, the rules and guidelines defined in [this specification] apply, with the proviso that the XmppAddr identifier is allowed as a reference identifier.

サーバー証明書については、[本仕様] で定義されているルールとガイドラインが適用されますが、XmppAddr識別子を参照識別子として使用できるという条件が付きます。

The identities to be checked are set as follows:

検査されるアイデンティティは次のように設定されます。

o The initiating entity sets its reference identifier to the 'to' address it communicates in the initial stream header; i.e., this is the identity it expects the receiving entity to provide in a PKIX certificate.

o 開始エンティティは、初期ストリームヘッダーで伝える「to」アドレスを参照識別子として設定します。つまり、これは受信エンティティがPKIX証明書で提示することを開始エンティティが期待するアイデンティティです。

o The receiving entity sets its reference identifier to the 'from' address communicated by the initiating entity in the initial stream header; i.e., this is the identity that the initiating entity is trying to assert.

o 受信エンティティは、開始エンティティが初期ストリームヘッダーで伝えた「from」アドレスを参照識別子として設定します。つまり、これは開始エンティティが主張しようとしているアイデンティティです。

   ######
        

Appendix B. Prior Art

付録B. 先行技術

(This section is non-normative.)

(このセクションは非規範的です。)

The recommendations in this document are an abstraction from recommendations in specifications for a wide range of application protocols. For the purpose of comparison and to delineate the history of thinking about application service identity verification within the IETF, this informative section gathers together prior art by including the exact text from various RFCs (the only modifications are changes to the names of several references to maintain coherence with the main body of this document, and the elision of irrelevant text as marked by the characters "[...]").

本文書の推奨事項は、幅広いアプリケーションプロトコルの仕様にある推奨事項を抽象化したものです。比較のため、およびIETFにおけるアプリケーションサービスのアイデンティティ検証に関する考え方の歴史を描き出すために、この参考情報のセクションでは、さまざまなRFCのテキストをそのまま掲載することで先行技術をまとめています(唯一の変更点は、本文書の本文との一貫性を保つためにいくつかの参照の名前を変更したことと、「[...]」の文字で示した無関係なテキストを省略したことです)。

B.1. IMAP, POP3, and ACAP (1999)

B.1. IMAP、POP3、およびACAP(1999年)

In 1999, [USINGTLS] specified the following text regarding application service identity verification in IMAP, POP3, and ACAP:

1999年に、[USINGTLS] は、IMAP、POP3、およびACAPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

2.4. Server Identity Check

2.4. サーバーアイデンティティの検査

During the TLS negotiation, the client MUST check its understanding of the server hostname against the server's identity as presented in the server Certificate message, in order to prevent man-in-the-middle attacks. Matching is performed according to these rules:

TLSネゴシエーション中、クライアントは、中間者攻撃を防ぐために、サーバーのホスト名に関する自身の認識を、サーバーのCertificateメッセージで提示されたサーバーのアイデンティティと照合して検査しなければなりません (MUST)。照合は次のルールに従って実行されます。

o The client MUST use the server hostname it used to open the connection as the value to compare against the server name as expressed in the server certificate. The client MUST NOT use any form of the server hostname derived from an insecure remote source (e.g., insecure DNS lookup). CNAME canonicalization is not done.

o クライアントは、サーバー証明書に表現されているサーバー名と比較する値として、接続を開くために使用したサーバーホスト名を使用しなければなりません (MUST)。クライアントは、安全でないリモートソースから派生したサーバーホスト名の形式(例: 安全でないDNSルックアップ)を使用してはなりません (MUST NOT)。CNAME正規化は行われません。

o If a subjectAltName extension of type dNSName is present in the certificate, it SHOULD be used as the source of the server's identity.

o dNSNameタイプのsubjectAltName拡張が証明書に存在する場合、それをサーバーのアイデンティティの情報源として使用すべきです (SHOULD)。

o Matching is case-insensitive.

o 照合では大文字と小文字を区別しません。

o A "*" wildcard character MAY be used as the left-most name component in the certificate. For example, *.example.com would match a.example.com, foo.example.com, etc. but would not match example.com.

o 証明書の左端の名前コンポーネントとして "*" ワイルドカード文字を使用してもよいです (MAY)。例えば、*.example.comはa.example.com、foo.example.comなどに一致しますが、example.comには一致しません。

o If the certificate contains multiple names (e.g. more than one dNSName field), then a match with any one of the fields is considered acceptable.

o 証明書に複数の名前(例えば、複数のdNSNameフィールド)が含まれている場合、いずれか1つのフィールドと一致すれば受け入れ可能と見なされます。

If the match fails, the client SHOULD either ask for explicit user confirmation, or terminate the connection and indicate the server's identity is suspect.

照合に失敗した場合、クライアントは、ユーザーに明示的な確認を求めるか、接続を終了してサーバーのアイデンティティが疑わしいことを示すべきです (SHOULD)。

   ######
        

B.2. HTTP (2000)

B.2. HTTP(2000年)

In 2000, [HTTP-TLS] specified the following text regarding application service identity verification in HTTP:

2000年に、[HTTP-TLS] は、HTTPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

3.1. Server Identity

3.1. サーバーのアイデンティティ

In general, HTTP/TLS requests are generated by dereferencing a URI. As a consequence, the hostname for the server is known to the client. If the hostname is available, the client MUST check it against the server's identity as presented in the server's Certificate message, in order to prevent man-in-the-middle attacks.

一般に、HTTP/TLSリクエストはURIを参照解決することによって生成されます。その結果、サーバーのホスト名はクライアントに既知です。ホスト名が利用可能な場合、クライアントは、中間者攻撃を防ぐために、それをサーバーのCertificateメッセージで提示されたサーバーのアイデンティティと照合して検査しなければなりません (MUST)。

If the client has external information as to the expected identity of the server, the hostname check MAY be omitted. (For instance, a client may be connecting to a machine whose address and hostname are dynamic but the client knows the certificate that the server will present.) In such cases, it is important to narrow the scope of acceptable certificates as much as possible in order to prevent man in the middle attacks. In special cases, it may be appropriate for the client to simply ignore the server's identity, but it must be understood that this leaves the connection open to active attack.

クライアントがサーバーの期待されるアイデンティティに関する外部情報を持っている場合、ホスト名の検査を省略してもよいです (MAY)。(例えば、クライアントは、アドレスとホスト名が動的であるものの、サーバーが提示する証明書をクライアントが知っているマシンに接続しようとしている場合があります。)そのような場合には、中間者攻撃を防ぐために、受け入れ可能な証明書の範囲をできるだけ狭めることが重要です。特殊な場合には、クライアントがサーバーのアイデンティティを単に無視することが適切なこともありますが、それにより接続が能動的攻撃にさらされることを理解しておく必要があります。

If a subjectAltName extension of type dNSName is present, that MUST be used as the identity. Otherwise, the (most specific) Common Name field in the Subject field of the certificate MUST be used. Although the use of the Common Name is existing practice, it is deprecated and Certification Authorities are encouraged to use the dNSName instead.

dNSNameタイプのsubjectAltName拡張が存在する場合、それをアイデンティティとして使用しなければなりません (MUST)。そうでない場合は、証明書のSubjectフィールド内の(最も具体的な)Common Nameフィールドを使用しなければなりません (MUST)。Common Nameの使用は既存の慣行ですが、非推奨となっており、認証局は代わりにdNSNameを使用することが奨励されます。

Matching is performed using the matching rules specified by [PKIX-OLD]. If more than one identity of a given type is present in the certificate (e.g., more than one dNSName name, a match in any one of the set is considered acceptable.) Names may contain the wildcard character * which is considered to match any single domain name component or component fragment. E.g., *.a.com matches foo.a.com but not bar.foo.a.com. f*.com matches foo.com but not bar.com.

照合は、[PKIX-OLD] で規定された照合ルールを使用して実行されます。証明書に特定のタイプのアイデンティティが複数存在する場合(例えば、複数のdNSName名)、その集合のいずれか1つと一致すれば受け入れ可能と見なされます。名前にはワイルドカード文字 * を含めることができ、これは任意の単一のドメイン名コンポーネントまたはコンポーネントの断片に一致すると見なされます。例えば、*.a.com は foo.a.com に一致しますが、bar.foo.a.com には一致しません。f*.com は foo.com に一致しますが、bar.com には一致しません。

In some cases, the URI is specified as an IP address rather than a hostname. In this case, the iPAddress subjectAltName must be present in the certificate and must exactly match the IP in the URI.

場合によっては、URIがホスト名ではなくIPアドレスとして指定されます。この場合、iPAddressのsubjectAltNameが証明書に存在し、かつURI内のIPと完全に一致していなければなりません。

If the hostname does not match the identity in the certificate, user oriented clients MUST either notify the user (clients MAY give the user the opportunity to continue with the connection in any case) or terminate the connection with a bad certificate error. Automated clients MUST log the error to an appropriate audit log (if available) and SHOULD terminate the connection (with a bad certificate error). Automated clients MAY provide a configuration setting that disables this check, but MUST provide a setting which enables it.

ホスト名が証明書内のアイデンティティと一致しない場合、ユーザー向けのクライアントは、ユーザーに通知する(クライアントは、いずれの場合でもユーザーに接続を続行する機会を与えてもよいです (MAY))か、不正な証明書エラーで接続を終了するかのいずれかを行わなければなりません (MUST)。自動化されたクライアントは、エラーを適切な監査ログ(利用可能な場合)に記録しなければならず (MUST)、(不正な証明書エラーで)接続を終了すべきです (SHOULD)。自動化されたクライアントは、この検査を無効にする設定を提供してもよいです (MAY) が、それを有効にする設定を提供しなければなりません (MUST)。

Note that in many cases the URI itself comes from an untrusted source. The above-described check provides no protection against attacks where this source is compromised. For example, if the URI was obtained by clicking on an HTML page which was itself obtained without using HTTP/TLS, a man in the middle could have replaced the URI. In order to prevent this form of attack, users should carefully examine the certificate presented by the server to determine if it meets their expectations.

多くの場合、URI自体が信頼できない情報源から得られることに注意してください。上記の検査は、この情報源が侵害されている攻撃に対しては何の保護も提供しません。例えば、HTTP/TLSを使用せずに取得されたHTMLページ上をクリックしてURIを得た場合、中間者がURIを置き換えている可能性があります。この形式の攻撃を防ぐために、ユーザーは、サーバーが提示した証明書が期待どおりかどうかを慎重に確認すべきです。

   ######
        

B.3. LDAP (2000/2006)

B.3. LDAP(2000年/2006年)

In 2000, [LDAP-TLS] specified the following text regarding application service identity verification in LDAP:

2000年に、[LDAP-TLS] は、LDAPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

3.6. Server Identity Check

3.6. サーバーアイデンティティの検査

The client MUST check its understanding of the server's hostname against the server's identity as presented in the server's Certificate message, in order to prevent man-in-the-middle attacks.

クライアントは、中間者攻撃を防ぐために、サーバーのホスト名に関する自身の認識を、サーバーのCertificateメッセージで提示されたサーバーのアイデンティティと照合して検査しなければなりません (MUST)。

Matching is performed according to these rules:

照合は次のルールに従って実行されます。

o The client MUST use the server hostname it used to open the LDAP connection as the value to compare against the server name as expressed in the server's certificate. The client MUST NOT use the server's canonical DNS name or any other derived form of name.

o クライアントは、サーバーの証明書に表現されているサーバー名と比較する値として、LDAP接続を開くために使用したサーバーホスト名を使用しなければなりません (MUST)。クライアントは、サーバーの正規DNS名や他の派生形式の名前を使用してはなりません (MUST NOT)。

o If a subjectAltName extension of type dNSName is present in the certificate, it SHOULD be used as the source of the server's identity.

o dNSNameタイプのsubjectAltName拡張が証明書に存在する場合、それをサーバーのアイデンティティの情報源として使用すべきです (SHOULD)。

o Matching is case-insensitive.

o 照合では大文字と小文字を区別しません。

o The "*" wildcard character is allowed. If present, it applies only to the left-most name component.

o 「*」ワイルドカード文字を使用できます。存在する場合、それは左端の名前コンポーネントにのみ適用されます。

E.g. *.bar.com would match a.bar.com, b.bar.com, etc. but not bar.com. If more than one identity of a given type is present in the certificate (e.g. more than one dNSName name), a match in any one of the set is considered acceptable.

例えば、*.bar.com は a.bar.com、b.bar.com などに一致しますが、bar.com には一致しません。証明書に特定のタイプのアイデンティティが複数存在する場合(例えば、複数のdNSName名)、その集合のいずれか1つと一致すれば受け入れ可能と見なされます。

If the hostname does not match the dNSName-based identity in the certificate per the above check, user-oriented clients SHOULD either notify the user (clients MAY give the user the opportunity to continue with the connection in any case) or terminate the connection and indicate that the server's identity is suspect. Automated clients SHOULD close the connection, returning and/or logging an error indicating that the server's identity is suspect.

上記の検査でホスト名が証明書内のdNSNameに基づくアイデンティティと一致しない場合、ユーザー向けのクライアントは、ユーザーに通知する(クライアントは、いずれの場合でもユーザーに接続を続行する機会を与えてもよいです (MAY))か、接続を終了してサーバーのアイデンティティが疑わしいことを示すかのいずれかを行うべきです (SHOULD)。自動化されたクライアントは接続を閉じ、サーバーのアイデンティティが疑わしいことを示すエラーを返すか記録するか、またはその両方を行うべきです (SHOULD)。

Beyond the server identity checks described in this section, clients SHOULD be prepared to do further checking to ensure that the server is authorized to provide the service it is observed to provide. The client MAY need to make use of local policy information.

本セクションで説明したサーバーアイデンティティの検査に加えて、クライアントは、サーバーが提供していると見受けられるサービスを提供する権限をそのサーバーが持っていることを確認するために、さらなる検査を行う準備をしておくべきです (SHOULD)。クライアントは、ローカルポリシー情報を利用する必要があるかもしれません (MAY)。

   ######
        

In 2006, [LDAP-AUTH] specified the following text regarding application service identity verification in LDAP:

2006年に、[LDAP-AUTH] は、LDAPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

3.1.3. Server Identity Check

3.1.3. サーバーアイデンティティの検査

In order to prevent man-in-the-middle attacks, the client MUST verify the server's identity (as presented in the server's Certificate message). In this section, the client's understanding of the server's identity (typically the identity used to establish the transport connection) is called the "reference identity".

中間者攻撃を防ぐために、クライアントは(サーバーのCertificateメッセージで提示された)サーバーのアイデンティティを検証しなければなりません (MUST)。本セクションでは、サーバーのアイデンティティに関するクライアントの認識(通常はトランスポート接続の確立に使用したアイデンティティ)を「参照アイデンティティ」と呼びます。

The client determines the type (e.g., DNS name or IP address) of the reference identity and performs a comparison between the reference identity and each subjectAltName value of the corresponding type until a match is produced. Once a match is produced, the server's identity has been verified, and the server identity check is complete. Different subjectAltName types are matched in different ways. Sections 3.1.3.1 - 3.1.3.3 explain how to compare values of various subjectAltName types.

クライアントは、参照アイデンティティのタイプ(例えば、DNS名やIPアドレス)を判別し、一致が得られるまで、参照アイデンティティと対応するタイプの各subjectAltName値とを比較します。一致が得られた時点でサーバーのアイデンティティは検証されたことになり、サーバーアイデンティティの検査は完了します。subjectAltNameのタイプが異なれば、照合の方法も異なります。セクション3.1.3.1〜3.1.3.3では、さまざまなsubjectAltNameタイプの値を比較する方法を説明します。

The client may map the reference identity to a different type prior to performing a comparison. Mappings may be performed for all available subjectAltName types to which the reference identity can be mapped; however, the reference identity should only be mapped to types for which the mapping is either inherently secure (e.g., extracting the DNS name from a URI to compare with a subjectAltName of type dNSName) or for which the mapping is performed in a secure manner (e.g., using [DNSSEC], or using user- or admin-configured host-to-address/address-to-host lookup tables).

クライアントは、比較を実行する前に、参照アイデンティティを別のタイプにマッピングしてもかまいません。マッピングは、参照アイデンティティをマッピングできる利用可能なすべてのsubjectAltNameタイプに対して実行できます。ただし、参照アイデンティティは、マッピングが本質的に安全であるタイプ(例えば、URIからDNS名を抽出してdNSNameタイプのsubjectAltNameと比較する場合)か、マッピングが安全な方法で実行されるタイプ(例えば、[DNSSEC] を使用する場合や、ユーザーまたは管理者が設定したホストからアドレスへ/アドレスからホストへのルックアップテーブルを使用する場合)にのみマッピングすべきです。

The server's identity may also be verified by comparing the reference identity to the Common Name (CN) [LDAP-SCHEMA] value in the last Relative Distinguished Name (RDN) of the subject field of the server's certificate (where "last" refers to the DER-encoded order, not the order of presentation in a string representation of DER-encoded data). This comparison is performed using the rules for comparison of DNS names in Section 3.1.3.1, below, with the exception that no wildcard matching is allowed. Although the use of the Common Name value is existing practice, it is deprecated, and Certification Authorities are encouraged to provide subjectAltName values instead. Note that the TLS implementation may represent DNs in certificates according to X.500 or other conventions. For example, some X.500 implementations order the RDNs in a DN using a left-to-right (most significant to least significant) convention instead of LDAP's right-to-left convention.

サーバーのアイデンティティは、参照アイデンティティを、サーバーの証明書のsubjectフィールドの最後の相対識別名(RDN)にあるコモンネーム (CN) [LDAP-SCHEMA] の値と比較することによっても検証できます(ここで「最後」とはDERエンコードされた順序を指し、DERエンコードされたデータの文字列表現における表示順序ではありません)。この比較は、ワイルドカードによる照合が許可されないことを除き、後述のセクション3.1.3.1のDNS名の比較ルールを使用して実行されます。コモンネームの値の使用は既存の慣行ですが、非推奨となっており、認証局は代わりにsubjectAltName値を提供することが奨励されます。TLS実装は、X.500またはその他の規約に従って証明書内のDNを表現する場合があることに注意してください。例えば、一部のX.500実装は、LDAPの右から左への規約ではなく、左から右(最上位から最下位)への規約を使用してDN内のRDNを並べます。

If the server identity check fails, user-oriented clients SHOULD either notify the user (clients may give the user the opportunity to continue with the LDAP session in this case) or close the transport connection and indicate that the server's identity is suspect. Automated clients SHOULD close the transport connection and then return or log an error indicating that the server's identity is suspect or both.

サーバーアイデンティティの検査が失敗した場合、ユーザー向けのクライアントは、ユーザーに通知する(この場合、クライアントはユーザーにLDAPセッションを続行する機会を与えてもかまいません)か、トランスポート接続を閉じてサーバーのアイデンティティが疑わしいことを示すかのいずれかを行うべきです (SHOULD)。自動化されたクライアントは、トランスポート接続を閉じ、その後、サーバーのアイデンティティが疑わしいことを示すエラーを返すか記録するか、またはその両方を行うべきです (SHOULD)。

Beyond the server identity check described in this section, clients should be prepared to do further checking to ensure that the server is authorized to provide the service it is requested to provide. The client may need to make use of local policy information in making this determination.

本セクションで説明したサーバーアイデンティティの検査に加えて、クライアントは、要求されたサービスを提供する権限をサーバーが持っていることを確認するために、さらなる検査を行う準備をしておくべきです。クライアントは、この判断を行う際にローカルポリシー情報を利用する必要があるかもしれません。

3.1.3.1. Comparison of DNS Names

3.1.3.1. DNS名の比較

If the reference identity is an internationalized domain name, conforming implementations MUST convert it to the ASCII Compatible Encoding (ACE) format as specified in Section 4 of RFC 3490 [IDNA2003] before comparison with subjectAltName values of type dNSName. Specifically, conforming implementations MUST perform the conversion operation specified in Section 4 of RFC 3490 as follows:

参照アイデンティティが国際化ドメイン名である場合、適合実装は、dNSNameタイプのsubjectAltName値と比較する前に、RFC 3490 [IDNA2003] のセクション4で規定されているASCII互換エンコーディング(ACE)形式に変換しなければなりません (MUST)。具体的には、適合実装は、RFC 3490のセクション4で規定されている変換操作を次のように実行しなければなりません (MUST)。

o in step 1, the domain name SHALL be considered a "stored string";

o ステップ1において、ドメイン名は「保存された文字列」とみなされなければなりません (SHALL)。

o in step 3, set the flag called "UseSTD3ASCIIRules";

o ステップ3では、「UseSTD3ASCIIRules」というフラグを設定します。

o in step 4, process each label with the "ToASCII" operation; and

o ステップ4では、各ラベルを「ToASCII」操作で処理します。そして、

o in step 5, change all label separators to U+002E (full stop).

o ステップ5では、すべてのラベル区切り文字をU+002E(フルストップ)に変更します。

After performing the "to-ASCII" conversion, the DNS labels and names MUST be compared for equality according to the rules specified in Section 3 of RFC3490.

「to-ASCII」変換を実行した後、DNSラベルと名前は、RFC3490のセクション3で規定されているルールに従って同一性を比較しなければなりません (MUST)。

The '*' (ASCII 42) wildcard character is allowed in subjectAltName values of type dNSName, and then only as the left-most (least significant) DNS label in that value. This wildcard matches any left-most DNS label in the server name. That is, the subject *.example.com matches the server names a.example.com and b.example.com, but does not match example.com or a.b.example.com.

'*'(ASCII 42)ワイルドカード文字は、dNSNameタイプのsubjectAltName値において、その値の左端(最下位)のDNSラベルとしてのみ使用できます。このワイルドカードは、サーバー名の左端の任意のDNSラベルに一致します。つまり、サブジェクト *.example.com はサーバー名 a.example.com および b.example.com に一致しますが、example.com や a.b.example.com には一致しません。

3.1.3.2. Comparison of IP Addresses

3.1.3.2. IPアドレスの比較

When the reference identity is an IP address, the identity MUST be converted to the "network byte order" octet string representation [IP] [IPv6]. For IP Version 4, as specified in RFC 791, the octet string will contain exactly four octets. For IP Version 6, as specified in RFC 2460, the octet string will contain exactly sixteen octets. This octet string is then compared against subjectAltName values of type iPAddress. A match occurs if the reference identity octet string and value octet strings are identical.

参照アイデンティティがIPアドレスである場合、そのアイデンティティは「ネットワークバイト順」のオクテット文字列表現 [IP] [IPv6] に変換しなければなりません (MUST)。RFC 791で規定されているIPバージョン4の場合、オクテット文字列はちょうど4オクテットになります。RFC 2460で規定されているIPバージョン6の場合、オクテット文字列はちょうど16オクテットになります。次に、このオクテット文字列をiPAddressタイプのsubjectAltName値と比較します。参照アイデンティティのオクテット文字列と値のオクテット文字列が同一である場合に一致となります。

3.1.3.3. Comparison of Other subjectName Types

3.1.3.3. その他のsubjectNameタイプの比較

Client implementations MAY support matching against subjectAltName values of other types as described in other documents.

クライアント実装は、他の文書で説明されている他のタイプのsubjectAltName値との照合をサポートしてもよいです (MAY)。

   ######
        

B.4. SMTP (2002/2007)

B.4. SMTP(2002年/2007年)

In 2002, [SMTP-TLS] specified the following text regarding application service identity verification in SMTP:

2002年に、[SMTP-TLS] は、SMTPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

4.1 Processing After the STARTTLS Command

4.1 STARTTLSコマンド後の処理

[...]

[...]

The decision of whether or not to believe the authenticity of the other party in a TLS negotiation is a local matter. However, some general rules for the decisions are: o A SMTP client would probably only want to authenticate an SMTP server whose server certificate has a domain name that is the domain name that the client thought it was connecting to.

TLSネゴシエーションにおいて相手側の真正性を信じるかどうかの決定は、ローカルな事項です。ただし、その決定に関する一般的なルールとしては次のようなものがあります。o SMTPクライアントはおそらく、接続先だとクライアントが考えたドメイン名をサーバー証明書に持つSMTPサーバーだけを認証したいと考えるでしょう。

   [...]

   ######
        

In 2006, [SMTP-AUTH] specified the following text regarding application service identity verification in SMTP:

2006年に、[SMTP-AUTH] は、SMTPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

14. Additional Requirements When Using SASL PLAIN over TLS

14. TLS上でSASL PLAINを使用する場合の追加要件

[...]

[...]

After a successful [TLS] negotiation, the client MUST check its understanding of the server hostname against the server's identity as presented in the server Certificate message, in order to prevent man-in-the-middle attacks. If the match fails, the client MUST NOT attempt to authenticate using the SASL PLAIN mechanism. Matching is performed according to the following rules:

[TLS] ネゴシエーションが成功した後、クライアントは、中間者攻撃を防ぐために、サーバーのホスト名に関する自身の認識を、サーバーのCertificateメッセージで提示されたサーバーのアイデンティティと照合して検査しなければなりません (MUST)。照合に失敗した場合、クライアントはSASL PLAINメカニズムを使用した認証を試みてはなりません (MUST NOT)。照合は次のルールに従って実行されます。

The client MUST use the server hostname it used to open the connection as the value to compare against the server name as expressed in the server certificate. The client MUST NOT use any form of the server hostname derived from an insecure remote source (e.g., insecure DNS lookup). CNAME canonicalization is not done.

クライアントは、サーバー証明書に表現されているサーバー名と比較する値として、接続を開くために使用したサーバーホスト名を使用しなければなりません (MUST)。クライアントは、安全でないリモートソースから派生したサーバーホスト名の形式(例: 安全でないDNSルックアップ)を使用してはなりません (MUST NOT)。CNAME正規化は行われません。

If a subjectAltName extension of type dNSName is present in the certificate, it SHOULD be used as the source of the server's identity.

dNSNameタイプのsubjectAltName拡張が証明書に存在する場合、それをサーバーのアイデンティティの情報源として使用すべきです (SHOULD)。

Matching is case-insensitive.

照合では大文字と小文字を区別しません。

A "*" wildcard character MAY be used as the leftmost name component in the certificate. For example, *.example.com would match a.example.com, foo.example.com, etc., but would not match example.com.

"*" ワイルドカード文字を証明書の左端の名前コンポーネントとして使用してもよいです (MAY)。例えば、*.example.comはa.example.com、foo.example.comなどに一致しますが、example.comには一致しません。

If the certificate contains multiple names (e.g., more than one dNSName field), then a match with any one of the fields is considered acceptable.

証明書に複数の名前(例えば、複数のdNSNameフィールド)が含まれている場合、いずれか1つのフィールドと一致すれば受け入れ可能と見なされます。

   ######
        

B.5. XMPP (2004)

B.5. XMPP(2004年)

In 2004, [XMPP-OLD] specified the following text regarding application service identity verification in XMPP:

2004年に、[XMPP-OLD] は、XMPPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

14.2. Certificate Validation

14.2. 証明書の検証

When an XMPP peer communicates with another peer securely, it MUST validate the peer's certificate. There are three possible cases:

XMPPピアが別のピアと安全に通信する場合、ピアの証明書を検証しなければなりません (MUST)。可能なケースは3つあります:

Case #1: The peer contains an End Entity certificate which appears to be certified by a certification path terminating in a trust anchor (as described in Section 6.1 of [PKIX]).

ケース#1: ピアが、トラストアンカーで終端する証明書パスによって認証されているように見えるエンドエンティティ証明書を含んでいる場合([PKIX] のセクション6.1で説明されているとおり)。

Case #2: The peer certificate is certified by a Certificate Authority not known to the validating peer.

ケース#2: ピアの証明書が、検証を行うピアの知らない認証局によって認証されている場合。

Case #3: The peer certificate is self-signed.

ケース#3: ピアの証明書が自己署名されている場合。

In Case #1, the validating peer MUST do one of two things:

ケース#1では、検証するピアは以下の2つのうちいずれかを行わなければなりません (MUST):

1. Verify the peer certificate according to the rules of [PKIX]. The certificate SHOULD then be checked against the expected identity of the peer following the rules described in [HTTP-TLS], except that a subjectAltName extension of type "xmpp" MUST be used as the identity if present. If one of these checks fails, user-oriented clients MUST either notify the user (clients MAY give the user the opportunity to continue with the connection in any case) or terminate the connection with a bad certificate error. Automated clients SHOULD terminate the connection (with a bad certificate error) and log the error to an appropriate audit log. Automated clients MAY provide a configuration setting that disables this check, but MUST provide a setting that enables it.

1. [PKIX] のルールに従ってピアの証明書を検証します。その後、証明書は、[HTTP-TLS] で説明されているルールに従ってピアの期待されるアイデンティティと照合して検査すべきです (SHOULD)。ただし、"xmpp" タイプのsubjectAltName拡張が存在する場合は、それをアイデンティティとして使用しなければなりません (MUST)。これらの検査のいずれかが失敗した場合、ユーザー向けのクライアントは、ユーザーに通知する(クライアントは、いずれの場合でもユーザーに接続を続行する機会を与えてもよいです (MAY))か、不正な証明書エラーで接続を終了するかのいずれかを行わなければなりません (MUST)。自動化されたクライアントは、(不正な証明書エラーで)接続を終了し、そのエラーを適切な監査ログに記録すべきです (SHOULD)。自動化されたクライアントは、この検査を無効にする設定を提供してもよいです (MAY) が、それを有効にする設定を提供しなければなりません (MUST)。

2. The peer SHOULD show the certificate to a user for approval, including the entire certification path. The peer MUST cache the certificate (or some non-forgeable representation such as a hash). In future connections, the peer MUST verify that the same certificate was presented and MUST notify the user if it has changed.

2. ピアは、認証パス全体を含め、承認のために証明書をユーザーに提示すべきです (SHOULD)。ピアは証明書(またはハッシュなどの偽造不可能な表現)をキャッシュしなければなりません (MUST)。将来の接続において、ピアは同じ証明書が提示されたことを検証しなければならず (MUST)、変更された場合はユーザーに通知しなければなりません (MUST)。

In Case #2 and Case #3, implementations SHOULD act as in (2) above.

ケース#2およびケース#3では、実装は上記の (2) のように動作すべきです (SHOULD)。

###### Although [XMPP-OLD] defined its own rules, [XMPP] reuses the rules in this document regarding application service identity verification in XMPP.

###### [XMPP-OLD] は独自のルールを定義していましたが、[XMPP] は、XMPPにおけるアプリケーションサービスのアイデンティティ検証に関して本文書のルールを再利用しています。

B.6. NNTP (2006)

B.6. NNTP(2006年)

In 2006, [NNTP-TLS] specified the following text regarding application service identity verification in NNTP:

2006年に、[NNTP-TLS] は、NNTPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

5. Security Considerations

5. セキュリティに関する考慮事項

[...]

[...]

During the TLS negotiation, the client MUST check its understanding of the server hostname against the server's identity as presented in the server Certificate message, in order to prevent man-in-the-middle attacks. Matching is performed according to these rules:

TLSネゴシエーション中、クライアントは、中間者攻撃を防ぐために、サーバーのホスト名に関する自身の認識を、サーバーのCertificateメッセージで提示されたサーバーのアイデンティティと照合して検査しなければなりません (MUST)。照合は次のルールに従って実行されます。

o The client MUST use the server hostname it used to open the connection (or the hostname specified in TLS "server_name" extension [TLS]) as the value to compare against the server name as expressed in the server certificate. The client MUST NOT use any form of the server hostname derived from an insecure remote source (e.g., insecure DNS lookup). CNAME canonicalization is not done.

o クライアントは、サーバー証明書に表現されているサーバー名と比較する値として、接続を開くために使用したサーバーホスト名(またはTLSの "server_name" 拡張 [TLS] で指定されたホスト名)を使用しなければなりません (MUST)。クライアントは、安全でないリモートソースから派生したサーバーホスト名の形式(例: 安全でないDNSルックアップ)を使用してはなりません (MUST NOT)。CNAME正規化は行われません。

o If a subjectAltName extension of type dNSName is present in the certificate, it SHOULD be used as the source of the server's identity.

o dNSNameタイプのsubjectAltName拡張が証明書に存在する場合、それをサーバーのアイデンティティの情報源として使用すべきです (SHOULD)。

o Matching is case-insensitive.

o 照合では大文字と小文字を区別しません。

o A "*" wildcard character MAY be used as the left-most name component in the certificate. For example, *.example.com would match a.example.com, foo.example.com, etc., but would not match example.com.

o 証明書の左端の名前コンポーネントとして "*" ワイルドカード文字を使用してもよいです (MAY)。例えば、*.example.comはa.example.com、foo.example.comなどに一致しますが、example.comには一致しません。

o If the certificate contains multiple names (e.g., more than one dNSName field), then a match with any one of the fields is considered acceptable.

o 証明書に複数の名前(例えば、複数のdNSNameフィールド)が含まれている場合、いずれか1つのフィールドと一致すれば受け入れ可能と見なされます。

If the match fails, the client SHOULD either ask for explicit user confirmation or terminate the connection with a QUIT command and indicate the server's identity is suspect.

照合に失敗した場合、クライアントは、ユーザーに明示的な確認を求めるか、QUITコマンドで接続を終了してサーバーのアイデンティティが疑わしいことを示すべきです (SHOULD)。

Additionally, clients MUST verify the binding between the identity of the servers to which they connect and the public keys presented by those servers. Clients SHOULD implement the algorithm in Section 6 of [PKIX] for general certificate validation, but MAY supplement that algorithm with other validation methods that achieve equivalent levels of verification (such as comparing the server certificate against a local store of already-verified certificates and identity bindings).

さらに、クライアントは、接続先のサーバーのアイデンティティと、それらのサーバーが提示する公開鍵との間のバインディングを検証しなければなりません (MUST)。クライアントは、一般的な証明書検証のために [PKIX] のセクション6のアルゴリズムを実装すべきです (SHOULD) が、同等のレベルの検証を達成する他の検証方法(例えば、検証済みの証明書とアイデンティティのバインディングを格納したローカルストアとサーバー証明書を比較するなど)でそのアルゴリズムを補ってもよいです (MAY)。

   ######
        

B.7. NETCONF (2006/2009)

B.7. NETCONF(2006年/2009年)

In 2006, [NETCONF-SSH] specified the following text regarding application service identity verification in NETCONF:

2006年に、[NETCONF-SSH] は、NETCONFにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

6. Security Considerations

6. セキュリティに関する考慮事項

The identity of the server MUST be verified and authenticated by the client according to local policy before password-based authentication data or any configuration or state data is sent to or received from the server. The identity of the client MUST also be verified and authenticated by the server according to local policy to ensure that the incoming client request is legitimate before any configuration or state data is sent to or received from the client. Neither side should establish a NETCONF over SSH connection with an unknown, unexpected, or incorrect identity on the opposite side.

パスワードベースの認証データや、設定データまたは状態データをサーバーとの間で送受信する前に、サーバーのアイデンティティは、ローカルポリシーに従ってクライアントによって検証および認証されなければなりません (MUST)。また、クライアントとの間で設定データまたは状態データを送受信する前に、受信したクライアントの要求が正当であることを確かめるために、クライアントのアイデンティティも、ローカルポリシーに従ってサーバーによって検証および認証されなければなりません (MUST)。いずれの側も、相手側のアイデンティティが未知、予期しないもの、または誤ったものである場合に、NETCONF over SSH接続を確立すべきではありません。

   ######
        

In 2009, [NETCONF-TLS] specified the following text regarding application service identity verification in NETCONF:

2009年に、[NETCONF-TLS] は、NETCONFにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

3.1. Server Identity

3.1. サーバーのアイデンティティ

During the TLS negotiation, the client MUST carefully examine the certificate presented by the server to determine if it meets the client's expectations. Particularly, the client MUST check its understanding of the server hostname against the server's identity as presented in the server Certificate message, in order to prevent man-in-the-middle attacks.

TLSネゴシエーション中、クライアントは、サーバーが提示した証明書がクライアントの期待を満たしているかどうかを判断するために、その証明書を慎重に検査しなければなりません (MUST)。特に、クライアントは、中間者攻撃を防ぐために、サーバーのホスト名に関する自身の認識を、サーバーのCertificateメッセージで提示されたサーバーのアイデンティティと照合して検査しなければなりません (MUST)。

Matching is performed according to the rules below (following the example of [NNTP-TLS]):

照合は、次のルールに従って([NNTP-TLS] の例にならって)実行されます。

o The client MUST use the server hostname it used to open the connection (or the hostname specified in the TLS "server_name" extension [TLS]) as the value to compare against the server name as expressed in the server certificate. The client MUST NOT use any form of the server hostname derived from an insecure remote source (e.g., insecure DNS lookup). CNAME canonicalization is not done.

o クライアントは、サーバー証明書に表現されているサーバー名と比較する値として、接続を開くために使用したサーバーホスト名(またはTLSの "server_name" 拡張 [TLS] で指定されたホスト名)を使用しなければなりません (MUST)。クライアントは、安全でないリモートソースから派生したサーバーホスト名の形式(例: 安全でないDNSルックアップ)を使用してはなりません (MUST NOT)。CNAME正規化は行われません。

o If a subjectAltName extension of type dNSName is present in the certificate, it MUST be used as the source of the server's identity.

o dNSNameタイプのsubjectAltName拡張が証明書に存在する場合、それをサーバーのアイデンティティの情報源として使用しなければなりません (MUST)。

o Matching is case-insensitive.

o 照合では大文字と小文字を区別しません。

o A "*" wildcard character MAY be used as the leftmost name component in the certificate. For example, *.example.com would match a.example.com, foo.example.com, etc., but would not match example.com.

o 証明書の左端の名前コンポーネントとして "*" ワイルドカード文字を使用してもよいです (MAY)。例えば、*.example.comはa.example.com、foo.example.comなどに一致しますが、example.comには一致しません。

o If the certificate contains multiple names (e.g., more than one dNSName field), then a match with any one of the fields is considered acceptable.

o 証明書に複数の名前(例えば、複数のdNSNameフィールド)が含まれている場合、いずれか1つのフィールドと一致すれば受け入れ可能と見なされます。

If the match fails, the client MUST either ask for explicit user confirmation or terminate the connection and indicate the server's identity is suspect.

照合に失敗した場合、クライアントは、ユーザーに明示的な確認を求めるか、接続を終了してサーバーのアイデンティティが疑わしいことを示すかのいずれかを行わなければなりません (MUST)。

Additionally, clients MUST verify the binding between the identity of the servers to which they connect and the public keys presented by those servers. Clients SHOULD implement the algorithm in Section 6 of [PKIX] for general certificate validation, but MAY supplement that algorithm with other validation methods that achieve equivalent levels of verification (such as comparing the server certificate against a local store of already-verified certificates and identity bindings).

さらに、クライアントは、接続先のサーバーのアイデンティティと、それらのサーバーが提示する公開鍵との間のバインディングを検証しなければなりません (MUST)。クライアントは、一般的な証明書検証のために [PKIX] のセクション6のアルゴリズムを実装すべきです (SHOULD) が、同等のレベルの検証を達成する他の検証方法(例えば、検証済みの証明書とアイデンティティのバインディングを格納したローカルストアとサーバー証明書を比較するなど)でそのアルゴリズムを補ってもよいです (MAY)。

If the client has external information as to the expected identity of the server, the hostname check MAY be omitted.

クライアントがサーバーの期待されるアイデンティティに関する外部情報を持っている場合、ホスト名の検査を省略してもよいです (MAY)。

   ######
        

B.8. Syslog (2009)

B.8. Syslog(2009年)

In 2009, [SYSLOG-TLS] specified the following text regarding application service identity verification in Syslog:

2009年に、[SYSLOG-TLS] は、Syslogにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

5.2. Subject Name Authorization

5.2. サブジェクト名による認可

Implementations MUST support certification path validation [PKIX]. In addition, they MUST support specifying the authorized peers using locally configured host names and matching the name against the certificate as follows.

実装は、証明書パス検証 [PKIX] をサポートしなければなりません (MUST)。さらに、ローカルに設定されたホスト名を使用して認可されたピアを指定し、次のようにその名前を証明書と照合することをサポートしなければなりません (MUST)。

o Implementations MUST support matching the locally configured host name against a dNSName in the subjectAltName extension field and SHOULD support checking the name against the common name portion of the subject distinguished name.

o 実装は、ローカルに設定されたホスト名をsubjectAltName拡張フィールド内のdNSNameと照合することをサポートしなければならず (MUST)、サブジェクト識別名のコモンネーム部分とその名前を照合して検査することをサポートすべきです (SHOULD)。

o The '*' (ASCII 42) wildcard character is allowed in the dNSName of the subjectAltName extension (and in common name, if used to store the host name), but only as the left-most (least significant) DNS label in that value. This wildcard matches any left-most DNS label in the server name. That is, the subject *.example.com matches the server names a.example.com and b.example.com, but does not match example.com or a.b.example.com. Implementations MUST support wildcards in certificates as specified above, but MAY provide a configuration option to disable them.

o '*'(ASCII 42)ワイルドカード文字は、subjectAltName拡張のdNSNameにおいて(およびホスト名の格納に使用される場合はコモンネームにおいて)使用できますが、その値の左端(最下位)のDNSラベルとしてのみ使用できます。このワイルドカードは、サーバー名の左端の任意のDNSラベルに一致します。つまり、サブジェクト *.example.com はサーバー名 a.example.com および b.example.com に一致しますが、example.com や a.b.example.com には一致しません。実装は、上記のとおり証明書内のワイルドカードをサポートしなければなりません (MUST) が、それを無効にする設定オプションを提供してもよいです (MAY)。

o Locally configured names MAY contain the wildcard character to match a range of values. The types of wildcards supported MAY be more flexible than those allowed in subject names, making it possible to support various policies for different environments. For example, a policy could allow for a trust-root-based authorization where all credentials issued by a particular CA trust root are authorized.

o ローカルに設定された名前には、一定範囲の値に一致させるためにワイルドカード文字を含めてもよいです (MAY)。サポートされるワイルドカードの種類は、サブジェクト名で許可されているものよりも柔軟であってもよく (MAY)、これにより、環境ごとに異なるさまざまなポリシーをサポートすることが可能になります。例えば、特定のCAのトラストルートによって発行されたすべてのクレデンシャルを認可する、トラストルートに基づく認可をポリシーで許可することができます。

o If the locally configured name is an internationalized domain name, conforming implementations MUST convert it to the ASCII Compatible Encoding (ACE) format for performing comparisons, as specified in Section 7 of [PKIX].

o ローカルに設定された名前が国際化ドメイン名である場合、適合実装は、[PKIX] のセクション7で規定されているとおり、比較を実行するためにそれをASCII互換エンコーディング(ACE)形式に変換しなければなりません (MUST)。

o Implementations MAY support matching a locally configured IP address against an iPAddress stored in the subjectAltName extension. In this case, the locally configured IP address is converted to an octet string as specified in [PKIX], Section 4.2.1.6. A match occurs if this octet string is equal to the value of iPAddress in the subjectAltName extension.

o 実装は、ローカルに設定されたIPアドレスをsubjectAltName拡張に格納されたiPAddressと照合することをサポートしてもよいです (MAY)。この場合、ローカルに設定されたIPアドレスは、[PKIX] のセクション4.2.1.6で規定されているとおりオクテット文字列に変換されます。このオクテット文字列がsubjectAltName拡張内のiPAddressの値と等しい場合に一致となります。

   ######
        

B.9. SIP (2010)

B.9. SIP(2010年)

In 2010, [SIP-CERTS] specified the following text regarding application service identity verification in SIP:

2010年に、[SIP-CERTS] は、SIPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

7.2. Comparing SIP Identities

7.2. SIPアイデンティティの比較

When an implementation (either client or server) compares two values as SIP domain identities:

実装(クライアントまたはサーバー)が2つの値をSIPドメインのアイデンティティとして比較する場合:

Implementations MUST compare only the DNS name component of each SIP domain identifier; an implementation MUST NOT use any scheme or parameters in the comparison.

実装は、各SIPドメイン識別子のDNS名コンポーネントのみを比較しなければなりません (MUST)。実装は比較においていかなるスキームやパラメータも使用してはなりません (MUST NOT)。

Implementations MUST compare the values as DNS names, which means that the comparison is case insensitive as specified by [DNS-CASE]. Implementations MUST handle Internationalized Domain Names (IDNs) in accordance with Section 7.2 of [PKIX].

実装は、値をDNS名として比較しなければなりません (MUST)。これは、[DNS-CASE] で規定されているとおり、比較で大文字と小文字を区別しないことを意味します。実装は、[PKIX] のセクション7.2に従って国際化ドメイン名(IDN)を処理しなければなりません (MUST)。

Implementations MUST match the values in their entirety:

実装は、値をその全体で照合しなければなりません (MUST)。

Implementations MUST NOT match suffixes. For example, "foo.example.com" does not match "example.com".

実装はサフィックスを照合してはなりません (MUST NOT)。例えば、"foo.example.com" は "example.com" と一致しません。

Implementations MUST NOT match any form of wildcard, such as a leading "." or "*." with any other DNS label or sequence of labels. For example, "*.example.com" matches only "*.example.com" but not "foo.example.com". Similarly, ".example.com" matches only ".example.com", and does not match "foo.example.com."

実装は、先頭の "." や "*." など、いかなる形式のワイルドカードも、他のDNSラベルやラベルの並びと照合してはなりません (MUST NOT)。例えば、"*.example.com" は "*.example.com" にのみ一致し、"foo.example.com" には一致しません。同様に、".example.com" は ".example.com" にのみ一致し、"foo.example.com." には一致しません。

[HTTP-TLS] allows the dNSName component to contain a wildcard; e.g., "DNS:*.example.com". [PKIX], while not disallowing this explicitly, leaves the interpretation of wildcards to the individual specification. [SIP] does not provide any guidelines on the presence of wildcards in certificates. Through the rule above, this document prohibits such wildcards in certificates for SIP domains.

[HTTP-TLS] では、dNSNameコンポーネントにワイルドカードを含めることが許可されています。例えば、"DNS:*.example.com" です。[PKIX] は、これを明示的に禁止してはいないものの、ワイルドカードの解釈を個々の仕様に委ねています。[SIP] は、証明書内のワイルドカードの存在に関するガイドラインを何も示していません。上記のルールにより、本文書は、SIPドメインの証明書におけるこのようなワイルドカードを禁止します。

   ######
        

B.10. SNMP (2010)

B.10. SNMP(2010年)

In 2010, [SNMP-TLS] specified the following text regarding application service identity verification in SNMP:

2010年に、[SNMP-TLS] は、SNMPにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

If the server's presented certificate has passed certification path validation [PKIX] to a configured trust anchor, and an active row exists with a zero-length snmpTlstmAddrServerFingerprint value, then the snmpTlstmAddrServerIdentity column contains the expected host name. This expected host name is then compared against the server's certificate as follows:

サーバーが提示した証明書が、設定されたトラストアンカーまでの証明書パス検証 [PKIX] に合格し、かつ長さ0のsnmpTlstmAddrServerFingerprint値を持つアクティブな行が存在する場合、snmpTlstmAddrServerIdentity列には期待されるホスト名が含まれています。この期待されるホスト名は、次のようにサーバーの証明書と比較されます。

o Implementations MUST support matching the expected host name against a dNSName in the subjectAltName extension field and MAY support checking the name against the CommonName portion of the subject distinguished name.

o 実装は、期待されるホスト名をsubjectAltName拡張フィールド内のdNSNameと照合することをサポートしなければならず (MUST)、サブジェクト識別名のCommonName部分とその名前を照合して検査することをサポートしてもよいです (MAY)。

o The '*' (ASCII 0x2a) wildcard character is allowed in the dNSName of the subjectAltName extension (and in common name, if used to store the host name), but only as the left-most (least significant) DNS label in that value. This wildcard matches any left-most DNS label in the server name. That is, the subject *.example.com matches the server names a.example.com and b.example.com, but does not match example.com or a.b.example.com. Implementations MUST support wildcards in certificates as specified above, but MAY provide a configuration option to disable them.

o '*'(ASCII 0x2a)ワイルドカード文字は、subjectAltName拡張のdNSNameにおいて(およびホスト名の格納に使用される場合はコモンネームにおいて)使用できますが、その値の左端(最下位)のDNSラベルとしてのみ使用できます。このワイルドカードは、サーバー名の左端の任意のDNSラベルに一致します。つまり、サブジェクト *.example.com はサーバー名 a.example.com および b.example.com に一致しますが、example.com や a.b.example.com には一致しません。実装は、上記のとおり証明書内のワイルドカードをサポートしなければなりません (MUST) が、それを無効にする設定オプションを提供してもよいです (MAY)。

o If the locally configured name is an internationalized domain name, conforming implementations MUST convert it to the ASCII Compatible Encoding (ACE) format for performing comparisons, as specified in Section 7 of [PKIX].

o ローカルに設定された名前が国際化ドメイン名である場合、適合実装は、[PKIX] のセクション7で規定されているとおり、比較を実行するためにそれをASCII互換エンコーディング(ACE)形式に変換しなければなりません (MUST)。

If the expected host name fails these conditions then the connection MUST be closed.

期待されるホスト名がこれらの条件を満たさない場合、接続を閉じなければなりません (MUST)。

   ######
        

B.11. GIST (2010)

B.11. GIST(2010年)

In 2010, [GIST] specified the following text regarding application service identity verification in the General Internet Signalling Transport:

2010年に、[GIST] は、General Internet Signalling Transportにおけるアプリケーションサービスのアイデンティティ検証に関して次のテキストを規定しました。

   ######
        

5.7.3.1. Identity Checking in TLS

5.7.3.1. TLSにおけるアイデンティティの検査

After TLS authentication, a node MUST check the identity presented by the peer in order to avoid man-in-the-middle attacks, and verify that the peer is authorised to take part in signalling at the GIST layer. The authorisation check is carried out by comparing the presented identity with each Authorised Peer Database (APD) entry in turn, as discussed in Section 4.4.2. This section defines the identity comparison algorithm for a single APD entry.

TLS認証の後、ノードは、中間者攻撃を回避するためにピアが提示したアイデンティティを検査し、そのピアがGIST層でのシグナリングに参加する権限を持っていることを検証しなければなりません (MUST)。認可の検査は、セクション4.4.2で説明されているとおり、提示されたアイデンティティを各認可ピアデータベース(APD)エントリと順番に比較することによって行われます。本セクションでは、単一のAPDエントリに対するアイデンティティの比較アルゴリズムを定義します。

For TLS authentication with X.509 certificates, an identity from the DNS namespace MUST be checked against each subjectAltName extension of type dNSName present in the certificate. If no such extension is present, then the identity MUST be compared to the (most specific) Common Name in the Subject field of the certificate. When matching DNS names against dNSName or Common Name fields, matching is case-insensitive. Also, a "*" wildcard character MAY be used as the left-most name component in the certificate or identity in the APD. For example, *.example.com in the APD would match certificates for a.example.com, foo.example.com, *.example.com, etc., but would not match example.com. Similarly, a certificate for *.example.com would be valid for APD identities of a.example.com, foo.example.com, *.example.com, etc., but not example.com.

X.509証明書を使用したTLS認証の場合、DNS名前空間のアイデンティティは、証明書に存在するdNSNameタイプの各subjectAltName拡張と照合して検査しなければなりません (MUST)。そのような拡張が存在しない場合、そのアイデンティティは、証明書のSubjectフィールド内の(最も具体的な)コモンネームと比較しなければなりません (MUST)。DNS名をdNSNameフィールドまたはコモンネームフィールドと照合する場合、照合では大文字と小文字を区別しません。また、証明書内またはAPD内のアイデンティティの左端の名前コンポーネントとして "*" ワイルドカード文字を使用してもよいです (MAY)。例えば、APD内の *.example.com は a.example.com、foo.example.com、*.example.com などの証明書に一致しますが、example.com には一致しません。同様に、*.example.com の証明書は、a.example.com、foo.example.com、*.example.com などのAPDアイデンティティに対して有効ですが、example.com に対しては有効ではありません。

Additionally, a node MUST verify the binding between the identity of the peer to which it connects and the public key presented by that peer. Nodes SHOULD implement the algorithm in Section 6 of [PKIX] for general certificate validation, but MAY supplement that algorithm with other validation methods that achieve equivalent levels of verification (such as comparing the server certificate against a local store of already-verified certificates and identity bindings).

さらに、ノードは、接続先のピアのアイデンティティと、そのピアが提示した公開鍵との間のバインディングを検証しなければなりません (MUST)。ノードは、一般的な証明書検証のために [PKIX] のセクション6のアルゴリズムを実装すべきです (SHOULD) が、同等のレベルの検証を達成する他の検証方法(例えば、検証済みの証明書とアイデンティティのバインディングを格納したローカルストアとサーバー証明書を比較するなど)でそのアルゴリズムを補ってもよいです (MAY)。

For TLS authentication with pre-shared keys, the identity in the psk_identity_hint (for the server identity, i.e. the Responding node) or psk_identity (for the client identity, i.e. the Querying node) MUST be compared to the identities in the APD.

事前共有鍵を使用したTLS認証の場合、psk_identity_hint(サーバーのアイデンティティ、すなわち応答側ノードの場合)またはpsk_identity(クライアントのアイデンティティ、すなわち問い合わせ側ノードの場合)内のアイデンティティは、APD内のアイデンティティと比較しなければなりません (MUST)。

   ######
        

Authors' Addresses

著者のアドレス

Peter Saint-Andre Cisco 1899 Wyknoop Street, Suite 600 Denver, CO 80202 USA

Peter Saint-Andre Cisco 1899 Wyknoop Street, Suite 600 Denver, CO 80202 USA

   Phone: +1-303-308-3282
   EMail: psaintan@cisco.com
        

Jeff Hodges PayPal 2211 North First Street San Jose, California 95131 US

Jeff Hodges PayPal 2211 North First Street San Jose, California 95131 US

   EMail: Jeff.Hodges@PayPal.com