SSL/TLS · Schema

SSL/TLS Certificate

Schema for an SSL/TLS certificate managed in a certificate management system

SSL/TLSTLSCertificatesPKICryptographyCertificate AuthorityHTTPS

Properties

Name Type Description
id string Unique certificate identifier
commonName string Certificate common name (primary domain)
subjectAlternativeNames array All Subject Alternative Names in the certificate
serialNumber string Certificate serial number in hexadecimal
issuer string Certificate issuer distinguished name
subject string Certificate subject distinguished name
notBefore string Certificate validity start time
notAfter string Certificate expiry time
status string Current certificate status
certType string Certificate validation type
keyAlgorithm string Public key algorithm and size
pem string PEM-encoded certificate
chain string PEM-encoded intermediate certificate chain
fingerprint object
createdAt string
revokedAt stringnull
revocationReason stringnull
View JSON Schema on GitHub

JSON Schema

ssl-tls-certificate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.example.com/schemas/tls-certificate",
  "title": "SSL/TLS Certificate",
  "description": "Schema for an SSL/TLS certificate managed in a certificate management system",
  "type": "object",
  "required": ["id", "commonName", "notBefore", "notAfter", "status"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique certificate identifier"
    },
    "commonName": {
      "type": "string",
      "description": "Certificate common name (primary domain)"
    },
    "subjectAlternativeNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "All Subject Alternative Names in the certificate"
    },
    "serialNumber": {
      "type": "string",
      "description": "Certificate serial number in hexadecimal"
    },
    "issuer": {
      "type": "string",
      "description": "Certificate issuer distinguished name"
    },
    "subject": {
      "type": "string",
      "description": "Certificate subject distinguished name"
    },
    "notBefore": {
      "type": "string",
      "format": "date-time",
      "description": "Certificate validity start time"
    },
    "notAfter": {
      "type": "string",
      "format": "date-time",
      "description": "Certificate expiry time"
    },
    "status": {
      "type": "string",
      "enum": ["issued", "pending", "revoked", "expired"],
      "description": "Current certificate status"
    },
    "certType": {
      "type": "string",
      "enum": ["DV", "OV", "EV", "wildcard", "multi-domain", "private"],
      "description": "Certificate validation type"
    },
    "keyAlgorithm": {
      "type": "string",
      "enum": ["RSA-2048", "RSA-4096", "EC-256", "EC-384"],
      "description": "Public key algorithm and size"
    },
    "pem": {
      "type": "string",
      "description": "PEM-encoded certificate"
    },
    "chain": {
      "type": "string",
      "description": "PEM-encoded intermediate certificate chain"
    },
    "fingerprint": {
      "type": "object",
      "properties": {
        "sha256": {
          "type": "string",
          "description": "SHA-256 fingerprint in hex notation"
        },
        "sha1": {
          "type": "string",
          "description": "SHA-1 fingerprint in hex notation (legacy)"
        }
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "revokedAt": {
      "type": ["string", "null"],
      "format": "date-time"
    },
    "revocationReason": {
      "type": ["string", "null"],
      "enum": ["unspecified", "keyCompromise", "affiliationChanged", "superseded", "cessationOfOperation", null]
    }
  },
  "$defs": {
    "CertificateOrder": {
      "type": "object",
      "required": ["id", "status", "domains"],
      "properties": {
        "id": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": ["pending", "processing", "valid", "invalid", "expired"]
        },
        "domains": {
          "type": "array",
          "items": { "type": "string" }
        },
        "challenges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Challenge"
          }
        },
        "certificateId": {
          "type": ["string", "null"]
        }
      }
    },
    "Challenge": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "type": {
          "type": "string",
          "enum": ["http-01", "dns-01", "tls-alpn-01"]
        },
        "domain": { "type": "string" },
        "status": {
          "type": "string",
          "enum": ["pending", "processing", "valid", "invalid"]
        },
        "token": { "type": "string" }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ssl-tls-certificate"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.