| 基本 | openssl asn1parse -in cert.pem |
|---|---|
| 二进制输入 | -inform DER 处理 .der/.cer |
| 定位范围 | -offset / -length 查看局部结构 |
| 产物 | SEQUENCE 层级与 OID 名称,可核对内容与长度 |
解析与对照
解析与对照
openssl asn1parse -in cert.pem | head -20
openssl asn1parse -inform DER -in cert.der | head -5多数场景用 x509 -text 已足够;asn1parse 更适合结构级排查与实现对接。