0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

サーバ証明書とFQDN一致確認

Last updated at Posted at 2025-08-13

サーバ証明書とFQDN一致確認

  • サーバ証明書には、FQDNを識別するためのフィールドがある

    • 旧:commonName(CN)
    • 新:subjectAltName(SAN, dNSNameなど)
  • ブラウザはアクセス先のFQDNと証明書のSAN/CNを比較し、一致していればTLS接続を許可

  • 一致しなければ警告や接続拒否(偽サイトや中間者攻撃を防止)

  • 正常:アクセス先www.example.com、証明書SANにwww.example.com → OK
  • 偽装:アクセス先www.example.com、証明書SANがevil.example.net → NG

ポイント

  • SANは複数のFQDNを登録でき、マルチドメイン対応が可能
  • CNは互換用。新規発行はSAN利用が推奨
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?