1
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?

More than 5 years have passed since last update.

東京都内のいくつかの団体のSSL証明書情報ピックアップ

Posted at

ちょっとCSRを作るときに、「State or Province Name」のところを「Tokyo」にすべきか「Tokyo-to」にすべきか迷ってしまったので、他の団体がどういう内容で証明書を作っているのかいくつかピックアップして調べてみた。

調べ方

$ openssl s_client -connect <FQDN>:443 -showcerts 2>&1 | grep "depth=0"

結果

# login.yahoo.co.jp (Yahoo)
depth=0 C = JP, ST = Tokyo, L = Minato-Ku, O = Yahoo Japan Corporation, CN = login.yahoo.co.jp

# msc.sony.jp (SONY)
depth=0 C = JP, ST = Tokyo, L = Minato-ku, O = Sony Marketing(Japan) Inc., OU = ISS DEPT. MSC 2015 04, CN = msc.sony.jp

# splatoon.nintendo.net (Splatoon)
depth=0 C = JP, ST = Kyoto, L = Minami-ku, O = "Nintendo Co., Ltd.", CN = splatoon.nintendo.net

# www.nenkin.go.jp (日本年金機構)
depth=0 C = JP, ST = Tokyo, L = Suginami-ku, O = Japan Pension Service, CN = www.nenkin.go.jp

# www.nttdocomo.co.jp (NTTドコモ)
depth=0 C = JP, ST = Tokyo, L = Chiyoda-ku, O = "NTT DOCOMO, INC.", OU = Strategic Marketing Department, CN = www.nttdocomo.co.jp

# www.odn.ne.jp (ODN)
depth=0 C = JP, ST = Tokyo, L = Minato-ku, O = SOFTBANK TELECOM Corp., OU = Service Platform Operations Department1, CN = www.odn.ne.jp

# digital.asahi.com (朝日新聞)
depth=0 C = JP, ST = Tokyo, L = Chuo-ku, O = The Asahi Shimbun Company, CN = digital.asahi.com

# pid.nhk.or.jp (NHK)
depth=0 1.3.6.1.4.1.311.60.2.1.3 = JP, serialNumber = 0110-05-000968, businessCategory = Private Organization, C = JP, ST = \E6\9D\B1\E4\BA\AC\E9\83\BD, L = \E6\B8\8B\E8\B0\B7\E5\8C\BA, O = \E6\97\A5\E6\9C\AC\E6\94\BE\E9\80\81\E5\8D\94\E4\BC\9A, OU = nhk-pid, CN = pid.nhk.or.jp

(注記)
\E6\9D\B1\E4\BA\AC\E9\83\BD … 東京都
\E6\B8\8B\E8\B0\B7\E5\8C\BA … 渋谷区
\E6\97\A5\E6\9C\AC\E6\94\BE\E9\80\81\E5\8D\94\E4\BC\9A … 日本放送協会

必ずしも多数派=正解というわけではないが、無難策として、とりあえず「Tokyo」「Tokyo-to」で迷った場合は前者で良さそうな感じ(というか後者が見つからなかった)。特殊な例として NHK がなかなか独自路線を行っていて、UTF-8 の日本語情報が埋め込まれていた。

1
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
1
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?