RFC 5280から引用したセクション(セクション 4.2.1.10)は、クライアントがサーバーに接続するときに何を検証する必要があるかという意味でのホスト名の一致に関するものではなく、名前の制約を使用する場合に CA が発行できるものに関するものです。拡大。
以前はプロトコル固有であり、HTTPSのRFC 2818 (セクション 3.1)で定義されていました。
RFC 6125はより最近のもので、アプリケーション プロトコル間でこれを調和させています。(必ずしも広く実装されているわけではありません。)
より具体的にwww.foo.com
は、一致しないfoo.com
か、次のようになり.foo.com
ます。
6.4.1. Checking of Traditional Domain Names
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).
www.foo.com
一般に、証明書をおよびに対して有効にする場合はfoo.com
、複数のサブジェクト代替名が必要になります ( でfoo.com
カバーされていません*.foo.com
)。