About

A certificate is a claim, and a signature

Last updated 24 November 2026

Everything inside an X.509 certificate is a statement about a name, made by someone who signed it. The reader's job is to show the statements and then check the signature, in that order.

One reader, no library

The file is a tree of tagged values, each with a length that says exactly where it ends. That grammar is small enough to read directly, and doing so has one real advantage: when a byte is wrong, the reader knows which byte. The reader walks the tree with a depth and a node limit, refuses an indefinite length because DER does not allow one, and reports the offset of the first value that does not fit.

On top of it sit the two shapes this page reads. A certificate is version, serial, signature algorithm, issuer, validity, subject, public key and then the extensions. A signing request is version, subject, public key and a set of attributes, one of which can carry the extensions the requester wants.

What is decoded

Distinguished names attribute by attribute, in the order they are written, including the ones a name rarely uses today. Dates, in UTC, with the days left counted from your clock. The public key as an algorithm and a size: RSA modulus and exponent, an elliptic curve by its OID, Ed25519 by name. Every extension with its critical flag, and the ones that matter decoded rather than shown as hex: subject alternative names for DNS, IP, email, URI and directory names, key usage bits, extended key usage purposes, basic constraints and path length, subject and authority key identifiers, AIA and CRL addresses, policies, and the count of signed certificate timestamps.

A value this page does not know is not guessed at. It is shown as the bytes it is, and named by its OID.

The two checks that need the platform

The fingerprints are digests of the whole certificate, computed by the browser's own crypto. SHA-256 is the one to compare when you install a certificate by hand; SHA-1 is there because some older tools still print it, and because a SHA-1 fingerprint matches nothing else.

A signature is verified with the public key of the certificate above it. RSA goes through PKCS#1 v1.5 or PSS with the hash the algorithm names, ECDSA needs its DER signature turned into the two raw numbers the platform expects, and Ed25519 is used where the platform has it. Importing a key is not always possible: an unusual curve, or an algorithm newer than the browser. When that happens the page says the check could not be made, which is different from a check that failed.

The chain

Blocks are ordered by who issued whom: a certificate whose subject nobody else names as issuer is a leaf, and its issuer is the next block, until a certificate that names itself. The pasted order is reported when it differs. Each link is checked twice, once for the names and once for the signature, and each member is checked for its own dates and its CA flag. Duplicates are named.

Where it stops

Who made it

Pikkola Lab builds small tools that keep the work in the browser. This is tool No. 66. Write to hello@pikkola.com with a certificate that reads badly, and say which field the reader lost.

Back to the studio

소개

인증서는 주장이고, 서명입니다

최종 수정 2026년 11월 24일

X.509 인증서 안의 모든 것은 어떤 이름에 대한 진술이고, 그것을 서명한 사람이 있습니다. 리더의 일은 진술을 보여 주고, 그다음에 서명을 확인하는 것입니다.

라이브러리 없이 읽는 하나

파일은 태그가 붙은 값들의 트리이고, 값마다 어디서 끝나는지를 적은 길이가 있습니다. 이 문법은 직접 읽을 만큼 작고, 직접 읽으면 실제로 유리한 점이 하나 있습니다. 바이트가 틀렸을 때 어느 바이트인지 안다는 것입니다. 리더는 깊이와 노드 수 제한을 두고 트리를 걸으며, DER이 허용하지 않는 불명확한 길이는 거부하고, 맞지 않는 첫 값의 위치를 알려 줍니다.

그 위에 이 페이지가 읽는 두 가지 모양이 있습니다. 인증서는 버전, 일련번호, 서명 알고리즘, 발급자, 유효기간, 주체, 공개키, 그리고 확장입니다. 서명 요청서는 버전, 주체, 공개키, 속성 집합이고, 속성 가운데 하나가 요청자가 원하는 확장을 담습니다.

읽어 내는 항목

식별 이름은 적힌 순서대로 항목마다 읽고, 요즘은 잘 쓰지 않는 항목도 그대로 보여 줍니다. 날짜는 UTC로, 남은 날짜는 이 기기의 시계에서 셉니다. 공개키는 알고리즘과 크기로 보여 줍니다. RSA는 모듈러스와 지수, 타원 곡선은 OID로, Ed25519는 이름으로. 확장은 critical 표시와 함께 모두 나열하고, 중요한 것은 헥스가 아니라 실제 값으로 풉니다. DNS, IP, 이메일, URI, 디렉터리 이름까지의 SAN, 키 용도 비트, 확장 키 용도, 기본 제약과 경로 길이, SKI와 AKI, AIA와 CRL 주소, 정책, SCT 개수까지입니다.

이 페이지가 모르는 값은 추측하지 않습니다. 바이트 그대로 보여 주고 OID로 이름을 붙입니다.

플랫폼이 필요한 두 가지 확인

지문은 인증서 전체의 해시이고, 브라우저 자체 암호 기능으로 계산합니다. 인증서를 손으로 설치할 때 비교하는 것은 SHA-256이고, SHA-1은 아직 그 값을 찍는 옛 도구가 있어서 함께 둡니다.

서명은 위쪽 인증서의 공개키로 검증합니다. RSA는 알고리즘이 지정한 해시로 PKCS#1 v1.5나 PSS를, ECDSA는 DER 서명을 플랫폼이 기대하는 두 개의 raw 숫자로 바꿔서, Ed25519는 플랫폼이 지원할 때 씁니다. 키를 불러오지 못하는 경우가 있습니다. 드문 곡선이거나 브라우저보다 새로운 알고리즘일 때입니다. 그때는 확인하지 못했다고 적습니다. 검증에 실패한 것과는 다른 이야기입니다.

체인

블록은 누가 누구를 발급했는지로 세웁니다. 자기 주체를 발급자로 삼는 다른 인증서가 없는 것이 리프이고, 그 발급자가 다음 블록이며, 자기를 가리키는 인증서에서 멈춥니다. 붙여 넣은 순서와 다르면 그렇다고 알립니다. 연결마다 이름과 서명을 두 번 확인하고, 각 구성원의 날짜와 CA 표시도 봅니다. 중복도 이름을 댑니다.

멈추는 곳

만든 곳

피콜라 랩은 작업을 브라우저 안에 두는 작은 도구를 만듭니다. 이것은 66호기입니다. 읽히지 않는 인증서가 있으면 hello@pikkola.com으로 보내 주세요. 리더가 어느 항목에서 길을 잃었는지 알려 주시면 됩니다.

스튜디오로 돌아가기

概要

証明書は主張であり、署名です

最終更新 2026年11月24日

X.509 証明書の中身はすべて、ある名前についての陳述で、それを署名した人がいます。読み手の仕事は陳述を示し、そのあとで署名を確かめることです。

ライブラリなしの読み手ひとつ

ファイルはタグの付いた値の木で、値ごとにどこで終わるかを書いた長さがあります。この文法は直接読めるほど小さく、直接読むことには実際の利点が 1 つあります。バイトが違えば、どのバイトかが分かることです。読み手は深さとノード数の制限を置いて木をたどり、DER が許さない不定長は断り、合わない最初の値の位置を知らせます。

その上に、このページが読む 2 つの形があります。証明書は、版、シリアル、署名アルゴリズム、発行者、有効期間、主体、公開鍵、そして拡張です。署名リクエストは、版、主体、公開鍵、属性の集合で、属性の 1 つが要求者の望む拡張を持てます。

解く項目

識別名は書かれた順に属性ごとに読み、いまはあまり使わない属性もそのまま示します。日付は UTC で、残り日数はこの端末の時計から数えます。公開鍵はアルゴリズムと大きさで示します。RSA は modulus と指数、楕円曲線は OID で、Ed25519 は名前で。拡張は critical の印とともにすべて並べ、大事なものは hex ではなく実際の値に解きます。DNS、IP、メール、URI、ディレクトリ名までの SAN、鍵用途のビット、拡張鍵用途、基本制約と経路長、SKI と AKI、AIA と CRL の場所、ポリシー、SCT の数までです。

このページが知らない値は推測しません。バイトのまま示し、OID で名を付けます。

環境が要る 2 つの確認

指紋は証明書全体のハッシュで、ブラウザ自身の暗号機能で計算します。証明書を手で入れるときに比べるのは SHA-256 で、SHA-1 はまだそれを印字する古い道具のために並べています。

署名は上の証明書の公開鍵で検証します。RSA はアルゴリズムが示すハッシュで PKCS#1 v1.5 か PSS、ECDSA は DER 署名を環境が待つ 2 つの raw の数に直して、Ed25519 は環境が対応するときに使います。鍵を読み込めないことがあります。珍しい曲線か、ブラウザより新しいアルゴリズムのときです。そのときは確かめられなかったと書き、検証に失敗したのとは区別します。

チェーン

ブロックは誰が誰を発行したかで並べます。自分の主体を発行者とする他の証明書がないものがリーフで、その発行者が次のブロック、自分を指す証明書で止まります。貼り付けた順と違えばそう告げます。接続ごとに名前と署名を 2 度確かめ、各構成員の日付と CA の印も見ます。重複も名を挙げます。

止まる場所

作ったところ

Pikkola Lab は仕事をブラウザの中に置く小さな道具を作ります。これは 66 号機です。読めない証明書があれば hello@pikkola.com まで。読み手がどの項目で道に迷ったかを教えてください。

スタジオに戻る