security_cert_decode
X.509 certificate decoder — Decode a PEM certificate or chain offline (pem= URL-encoded, or url= of a .pem/.crt file): subject, issuer, serial, validity and days remaining, key type and size (RSA/EC curve/Ed25519), signature algorithm, SANs, CA flag, key usage, extended key usage, DV/OV/EV policy, OCSP/CA-issuer/CRL URLs, embedded SCT count, key IDs, SHA-256 and SHA-1 fingerprints, chain link check. Flags EXPIRED, NOT_YET_VALID, WEAK_RSA_KEY, WEAK_SIGNATURE_HASH, SELF_SIGNED, LEAF_VALIDITY_OVER_398_DAYS, WILDCARD, NO_EMBEDDED_SCTS; verdict OK/REVIEW/BAD. Refuses private keys. Price: $0.004 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pem": "<pem>"
},
"name": "security_cert_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pem | Yes | -----BEGIN CERTIFICATE----- MIIC... -----END CERTIFICATE----- |