デジタル証明書管理

X.509公開鍵証明書のエンドツーエンドのライフサイクル管理 — 認証局(CA)による発行から更新、失効、交換まで — 信頼性の高いTLS、コード署名、メール暗号化を実現するため。

OCSPは即座の失効を保証しない(キャッシュ問題)。OCSPステープリングはサーバーが自身の失効状態をTLSハンドシェイクに含めることで、クライアントが直接CAに問い合わせる必要をなくす。CA/ブラウザフォーラムは最大有効期間を47日に短縮する方向で進んでいる。

        graph LR
  Center["デジタル証明書管理"]:::main
  Rel_digital_signatures["digital-signatures"]:::related -.-> Center
  click Rel_digital_signatures "/terms/digital-signatures"
  Rel_digital_asset_security["digital-asset-security"]:::related -.-> Center
  click Rel_digital_asset_security "/terms/digital-asset-security"
  Rel_digital_forensics["digital-forensics"]:::related -.-> Center
  click Rel_digital_forensics "/terms/digital-forensics"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 5歳でもわかるように説明

デジタル証明書はウェブサイトの公的な身分証明書のようなものです。ブラウザが銀行のサイトにアクセスする際、偽物でないことを確認するために銀行の「身分証」を確認します。この身分証は信頼された機関(認証局=パスポート事務所のような組織)が発行し、有効期限があります。もし盗まれたら、すぐに無効(失効)にしなければなりません。これらの身分証を発行・更新・失効させる一連の管理がデジタル証明書管理です。

🤓 Expert Deep Dive

X.509 v3の構造:Subject(主体)、Issuer(発行者)、公開鍵、有効期間、SAN(サブジェクト代替名)、鍵用途拡張、CAの電子署名。ACMEプロトコル(RFC 8555):HTTP-01やDNS-01チャレンジで自動ドメイン検証し、90日の短命証明書を自動更新。証明書透明性(CT、RFC 9162):ブラウザは少なくとも2つのCTログへの登録を証明するSCTを要求する。後量子PKI:RSAとECDSAはShorのアルゴリズムに脆弱であり、NISTはML-KEM(Kyber)とML-DSA(Dilithium)を標準化した。

❓ よくある質問

What is the difference between DV, OV, and EV certificates?

DV (Domain Validation) only confirms you control the domain. OV (Organization Validation) verifies the legal business. EV (Extended Validation) requires the most rigorous identity checks. All three provide the same encryption strength — the difference is only in how much identity verification was performed.

Why do Let's Encrypt certificates expire after 90 days?

Short-lived certificates reduce the damage window if a private key is compromised. If a key leaks on a 90-day cert, the attacker has at most 90 days to exploit it before the cert expires naturally.

Does revoking a certificate instantly make it invalid?

Not always. Browsers cache OCSP responses and CRLs. A revoked certificate may still be accepted by clients until the cached response expires, which is why short-lived certificates are considered more effective.

📚 出典