API & MCP
Everything a person can do on X.509 / ASN.1 Certificate Inspector, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://x509certificateinspector.usefulweb.site/api/v1/calculate– run X.509 / ASN.1 Certificate InspectorGET https://x509certificateinspector.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
X.509 / ASN.1 Certificate Inspector
Paste or upload a PEM/DER certificate, a whole chain or a PKCS#10 certificate signing request. Shows subject, issuer, validity and expiry warnings, SANs, key usage and EKU, basic constraints, AIA (OCSP, CA issuers), CRL distribution points, policies, embedded Certificate Transparency SCTs, fingerprints and the signature algorithm, checks the chain order with real signature verification, and includes a generic ASN.1 DER tree viewer with OID names.
| Field | Type | Default | Description |
|---|---|---|---|
input | textarea | — | Certificate, chain or CSR (PEM, base64 or hex DER) |
file | file | — | Or upload a file. PEM or binary DER, up to 1 MB. |
mode | select (auto, asn1) | "auto" | Mode |
showAsn1 | boolean | false | Include the ASN.1 tree of the first object |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://x509certificateinspector.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
x509_certificate_inspector - Local stdio connector:
node src/mcp-stdio.ts --tool=x509-certificate-inspector
{
"mcpServers": {
"x509-certificate-inspector": { "type": "http", "url": "https://x509certificateinspector.usefulweb.site/mcp" }
}
}