检查证书链中的 P-256 CA 与弱公钥

POST/cert/chain

逐张解析 PEM 证书包(如 fullchain.pem),按主体与签发者名称串起签发关系,标出 ECDSA P-256 CA 证书(Chrome 计划自 2027-03-15 起不再信任)和弱公钥:EC 私钥标量小于 65536、RSA 含小素因子、素因子过近(Fermat)、私钥指数过小(Wiener)、模数短于 2048 位或公钥指数无效。最多 12 个 PEM 块;不验证签名、有效期与信任,不联网,响应不缓存。

访问公开(可选 Bearer)裸值兼容pemCLI 默认text/plain

请求参数

pembody · 字符串必填

一个或多个 PEM 证书或 PKCS#10 请求,最多 12 个块,顺序不限。

长度:1 ~ 49152 字符示例:-----BEGIN CERTIFICATE----- MIIBSDCB8KADAgECAgECMAoGCCqGS…
通用输出参数_format_color展开
_formatquery · 字符串

响应格式:json 或 text(plain 为 text 别名)。

可选:json | text
_colorquery · 字符串

0、false、off 或 no 关闭 ANSI 颜色。

可选:0 | false | off | no

响应体

verdict字符串
可选:critical | warning | ok
certificates对象数组
kind字符串
可选:certificate | csr
subject字符串
issuer字符串 | null
serialNumber字符串 | null
subjectAltNames对象数组
type字符串
可选:dns | ip | email | uri | registered-id
value字符串
signatureAlgorithm对象
name字符串
oid字符串
hash字符串 | null
publicKey对象
algorithm字符串
oid字符串
bits整数 | null
curve字符串 | null
validity对象 | null
notBefore字符串
notAfter字符串
daysRemaining整数
status字符串
可选:valid | expired | not-yet-valid
fingerprints对象
sha1字符串
sha256字符串
index整数
role字符串
可选:leaf | intermediate | root | csr
issuerIndex整数 | null
findings对象数组
code字符串
可选:p256-ca | issuer-missing | ec-small-private-key | ec-off-curve | rsa-small-factor | rsa-close-primes | rsa-small-private-exponent | rsa-invalid-exponent | rsa-short-modulus | rsa-large-exponent
severity字符串
可选:critical | warning | info
index整数
message字符串