---
title: SSL Certificate Chain Lookup API Reference
version: 1.0.0
description: Retrieve the complete SSL certificate chain for any domain, including all intermediate and root certificates. Returns the same detailed certificate information as the single lookup — expiry dates, issuer details, signature algorithms, public key data, and extensions — for every certificate in the chain.
openapi: 3.1.1
servers:
  - https://api.apifreaks.com/v1.0
paths: 1
operations: 1
schemas: 13
---

## Table of Contents

- [SSL Certificate Chain Lookup API Reference v1.0.0](#ssl-certificate-chain-lookup-api-reference-v100)
  - [Authentication](#authentication)
  - [SSL APIs](#ssl-apis)
    - [sslCertificateChainLookup](#sslcertificatechainlookup)
      - [Parameters](#parameters)
      - [Responses](#responses)
  - [Schemas](#schemas)
    - [SSLLookupResponse](#ssllookupresponse)
    - [SSLCertificateItem](#sslcertificateitem)
    - [SSLSubject](#sslsubject)
    - [SSLIssuer](#sslissuer)
    - [SSLPublicKey](#sslpublickey)
    - [SSLExtensions](#sslextensions)
    - [SSLAuthorityInfoAccess](#sslauthorityinfoaccess)
    - [SSLSubjectAlternativeNames](#sslsubjectalternativenames)
    - [SSLCertificatePolicy](#sslcertificatepolicy)
    - [SSLPolicyQualifier](#sslpolicyqualifier)
    - [SSLUserNotice](#sslusernotice)
    - [SSLUserNoticeRef](#sslusernoticeref)
    - [ErrorResponse](#errorresponse)



# SSL Certificate Chain Lookup API Reference v1.0.0

Retrieve the complete SSL certificate chain for any domain, including all intermediate and root certificates. Returns the same detailed certificate information as the single lookup — expiry dates, issuer details, signature algorithms, public key data, and extensions — for every certificate in the chain.

Base URLs:

* [https://api.apifreaks.com/v1.0](https://api.apifreaks.com/v1.0)

## Authentication

* API Key (ApiKeyAuthHeader)
    - Parameter Name: **X-apiKey**, in: header. Pass your API key via the X-apiKey request header.

* API Key (ApiKeyAuthQuery)
    - Parameter Name: **apiKey**, in: query. Pass your API key via the apiKey query parameter.

## SSL APIs

### sslCertificateChainLookup

`GET /domain/ssl/live/chain`

*Retrieve all certificates from the domain to the root Certificate Authority (CA) of a domain.*

Retrieve the complete SSL certificate chain from root Certificate Authority (CA) to end-user certificate.
This endpoint provides comprehensive information about each certificate in the chain.

#### Parameters

|Name|In|Type|Required|Description|
|---|---|---|---|---|
|format|query|string|false|Format of the response.|
|domainName|query|string|true|Domain name or URL whose SSL certificate chain lookup is required|
|sslRaw|query|boolean|false|Set to true to get the raw openSSL response for each certificate in the chain|

##### Enumerated Values

|Parameter|Value|
|---|---|
|format|json|
|format|xml|

> Example responses

> Successful SSL certificate chain lookup response

```json
{
  "domainName": "google.com",
  "queryTime": "2026-06-06 14:58:45",
  "sslCertificates": [
    {
      "chainOrder": "end-user",
      "authenticationType": "domain",
      "validityStartDate": "2026-06-2 06:23:03 UTC",
      "validityEndDate": "2026-08-31 07:21:11 UTC",
      "serialNumber": "7b:75:1c:fe:fb:bb:95:33:0e:e2:a1:6b:9e:89:e1:b7",
      "signatureAlgorithm": "ECDSA-SHA256",
      "subject": {
        "commonName": "*.google.com"
      },
      "issuer": {
        "commonName": "WE1",
        "organization": "Google Trust Services",
        "country": "US"
      },
      "publicKey": {
        "keySize": "256 bit",
        "keyAlgorithm": "ECDSA",
        "pemRaw": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELD2RK4J04b+CkgML4RrJmWd482WIxr61Nq21HpA9c9G5ou6PsaIEhrESlu6xMHM+ucHh/0jQArZwnb8F0YwXZw==\n-----END PUBLIC KEY-----\n"
      },
      "extensions": {
        "authorityKeyIdentifier": "90:77:92:35:67:C4:FF:A8:CC:A9:E6:7B:D9:80:79:7B:CC:93:F9:38",
        "subjectKeyIdentifier": "6D:E0:94:E7:A4:F4:43:F1:20:17:0E:81:FC:C4:91:4D:18:A0:C9:2F",
        "keyUsages": [
          "Digital Signature"
        ],
        "extendedKeyUsages": [
          "TLS Web Server Authentication"
        ],
        "crlDistributionPoints": [
          "http://c.pki.goog/we1/R7LgAnKD4Lk.crl"
        ],
        "authorityInfoAccess": {
          "issuers": [
            "http://i.pki.goog/we1.crt"
          ],
          "ocsp": [
            "http://o.pki.goog/s/we1/e3U"
          ]
        },
        "subjectAlternativeNames": {
          "dnsNames": [
            "*.google.com",
            "google.com"
          ]
        },
        "certificatePolicies": [
          {
            "policyId": "2.23.140.1.2.1"
          }
        ]
      },
      "pemRaw": "-----BEGIN CERTIFICATE-----\nMIIDpDCCA0mgAwIBAgIQe3Uc/vu7lTMO4qFrnonhtzAKBggqhkjOPQQDAjA7MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZpY2VzMQwwCgYDVQQDEwNXRTEwHhcNMjYwNjAyMDYyMzAzWhcNMjYwODMxMDcyMTExWjAWMRQwEgYDVQQDEwtqZnJlYWtzLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCw9kSuCdOG/gpIDC+EayZlnePNliMa+tTattR6QPXPRuaLuj7GiBIaxEpbusTBzPrnB4f9I0AK2cJ2/BdGMF2ejggJSMIICTjAOBgNVHQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUbeCU56T0Q/EgFw6B/MSRTRigyS8wHwYDVR0jBBgwFoAUkHeSNWfE/6jMqeZ72YB5e8yT+TgwXgYIKwYBBQUHAQEEUjBQMCcGCCsGAQUFBzABhhtodHRwOi8vby5wa2kuZ29vZy9zL3dlMS9lM1UwJQYIKwYBBQUHMAKGGWh0dHA6Ly9pLnBraS5nb29nL3dlMS5jcnQwJQYDVR0RBB4wHIILamZyZWFrcy5jb22CDSouamZyZWFrcy5jb20wEwYDVR0gBAwwCjAIBgZngQwBAgEwNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2MucGtpLmdvb2cvd2UxL1I3TGdBbktENExrLmNybDCCAQMGCisGAQQB1nkCBAIEgfQEgfEA7wB2AJROQ4f67MHvgfMZJCaoGGUBx9NfOAIBP3JnfVU3LhnYAAABnoc27FIAAAQDAEcwRQIhAN5bVfN6osVhMW6F32m52+fRsNf6yDQIhXfHZ3S0DXK7AiBdVp3hQqIjM/TpSynLnZJ5W6Ng4Pd5WjRZtZP8wtNBmAB1ANgJVTuUT3r/yBYZb5RPhauw+Pxeh1UmDxXRLnK7RUsUAAABnoc27IUAAAQDAEYwRAIgZ4Hn/21EyS31ZoYWNiIbIbfnSWvnTTzMBGUzkPXa7E4CIChvO8tx+1vcNhmO2/qpE5pwLTIpeqwKH9+OvGdfoa4pMAoGCCqGSM49BAMCA0kAMEYCIQDL0J1LBJszJdu9uQJi5roRavn8KzuiC0caVQ9KxB1LzQIhAL16BeuNfUXnQ0JxUMiVXIWmKz7QoiLImDBS1+b+ZvJP\n-----END CERTIFICATE-----\n"
    },
    {
      "chainOrder": "intermediate",
      "authenticationType": "organization",
      "validityStartDate": "2023-12-13 09:00:00 UTC",
      "validityEndDate": "2029-02-20 14:00:00 UTC",
      "serialNumber": "7f:f3:19:77:97:2c:22:4a:76:15:5d:13:b6:d6:85:e3",
      "signatureAlgorithm": "ECDSA-SHA2384",
      "subject": {
        "commonName": "WE1",
        "organization": "Google Trust Services",
        "country": "US"
      },
      "issuer": {
        "commonName": "GTS Root R4",
        "organization": "Google Trust Services LLC",
        "country": "US"
      },
      "publicKey": {
        "keySize": "256 bit",
        "keyAlgorithm": "ECDSA",
        "pemRaw": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEb806/mdXR0whA4VAwkddu1hHD0DBXBeFxhk359V87YZLm4HZ1xoTpQoD+JjExuie/xBZjywmmPXmJiW7DwL6Vg==\n-----END PUBLIC KEY-----\n"
      },
      "extensions": {
        "authorityKeyIdentifier": "80:4C:D6:EB:74:FF:49:36:A3:D5:D8:FC:B5:3E:C5:6A:F0:94:1D:8C",
        "subjectKeyIdentifier": "90:77:92:35:67:C4:FF:A8:CC:A9:E6:7B:D9:80:79:7B:CC:93:F9:38",
        "keyUsages": [
          "CRL Sign",
          "Digital Signature",
          "Certificate Sign"
        ],
        "extendedKeyUsages": [
          "TLS Web Server Authentication",
          "TLS Web Client Authentication"
        ],
        "crlDistributionPoints": [
          "http://c.pki.goog/r/r4.crl"
        ],
        "authorityInfoAccess": {
          "issuers": [
            "http://i.pki.goog/r4.crt"
          ]
        },
        "certificatePolicies": [
          {
            "policyId": "2.23.140.1.2.1"
          }
        ]
      },
      "pemRaw": "-----BEGIN CERTIFICATE-----\nMIICnzCCAiWgAwIBAgIQf/MZd5csIkp2FV0TttaF4zAKBggqhkjOPQQDAzBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwHhcNMjMxMjEzMDkwMDAwWhcNMjkwMjIwMTQwMDAwWjA7MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZpY2VzMQwwCgYDVQQDEwNXRTEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARvzTr+Z1dHTCEDhUDCR127WEcPQMFcF4XGGTfn1XzthkubgdnXGhOlCgP4mMTG6J7/EFmPLCaY9eYmJbsPAvpWo4H+MIH7MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUkHeSNWfE/6jMqeZ72YB5e8yT+TgwHwYDVR0jBBgwFoAUgEzW63T/STaj1dj8tT7FavCUHYwwNAYIKwYBBQUHAQEEKDAmMCQGCCsGAQUFBzAChhhodHRwOi8vaS5wa2kuZ29vZy9yNC5jcnQwKwYDVR0fBCQwIjAgoB6gHIYaaHR0cDovL2MucGtpLmdvb2cvci9yNC5jcmwwEwYDVR0gBAwwCjAIBgZngQwBAgEwCgYIKoZIzj0EAwMDaAAwZQIxAOcCq1HW90OVznX+0RGU1cxAQXomvtgM8zItPZCuFQ8jSBJSjz5keROv9aYsAm5VsQIwJonMaAFi54mrfhfoFNZEfuNMSQ6/bIBiNLiyoX46FohQvKeIoJ99cx7sUkFN7uJW\n-----END CERTIFICATE-----\n"
    },
    {
      "chainOrder": "intermediate",
      "authenticationType": "organization",
      "validityStartDate": "2023-11-15 03:43:21 UTC",
      "validityEndDate": "2028-01-28 00:00:42 UTC",
      "serialNumber": "7f:e5:30:bf:33:13:43:be:dd:82:16:10:49:3d:8a:1b",
      "signatureAlgorithm": "SHA256-RSA",
      "subject": {
        "commonName": "GTS Root R4",
        "organization": "Google Trust Services LLC",
        "country": "US"
      },
      "issuer": {
        "commonName": "GlobalSign Root CA",
        "organization": "GlobalSign nv-sa",
        "organizationalUnit": "Root CA",
        "country": "BE"
      },
      "publicKey": {
        "keySize": "384 bit",
        "keyAlgorithm": "ECDSA",
        "pemRaw": "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE83Rzp2iLYK5DuDXFgTB7S0md+8FhzubeRr1r1WEYNa5A3XP3iZEwWus87oV8okB2O6nGuEfYKueSkWpz6bFyOZ8pn6KY019eWIZlD6GEZQbR3IvJx3PIjGov5cSr0R2K\n-----END PUBLIC KEY-----\n"
      },
      "extensions": {
        "authorityKeyIdentifier": "60:7B:66:1A:45:0D:97:CA:89:50:2F:7D:04:CD:34:A8:FF:FC:FD:4B",
        "subjectKeyIdentifier": "80:4C:D6:EB:74:FF:49:36:A3:D5:D8:FC:B5:3E:C5:6A:F0:94:1D:8C",
        "keyUsages": [
          "CRL Sign",
          "Digital Signature",
          "Certificate Sign"
        ],
        "extendedKeyUsages": [
          "TLS Web Server Authentication",
          "TLS Web Client Authentication"
        ],
        "crlDistributionPoints": [
          "http://c.pki.goog/r/gsr1.crl"
        ],
        "authorityInfoAccess": {
          "issuers": [
            "http://i.pki.goog/gsr1.crt"
          ]
        },
        "certificatePolicies": [
          {
            "policyId": "2.23.140.1.2.1"
          }
        ]
      },
      "pemRaw": "-----BEGIN CERTIFICATE-----\nMIIDejCCAmKgAwIBAgIQf+U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uvTPBwcOMBBmuFeU88+FSBX6+7iP0il8b4Z0QFqIwwMHfs/L6K1vepuoxtGzi4CZ68zJpiq1UvSqTbFJjtbD4seiMHl\n-----END CERTIFICATE-----\n"
    },
    {
      "chainOrder": "root",
      "authenticationType": "self-signed-ca",
      "validityStartDate": "2011-09-22 11:22:02 UTC",
      "validityEndDate": "2030-09-22 11:22:02 UTC",
      "serialNumber": "Signature Algorithm: sha256WithRSAEncryption",
      "signatureAlgorithm": "SHA256-RSA",
      "subject": {
        "commonName": "Actalis Authentication Root CA",
        "organization": "Actalis S.p.A./03358520967",
        "locality": "Milan",
        "country": "IT"
      },
      "issuer": {
        "commonName": "Actalis Authentication Root CA",
        "organization": "Actalis S.p.A./03358520967",
        "locality": "Milan",
        "country": "IT"
      },
      "publicKey": {
        "keySize": "4096 bit",
        "keyAlgorithm": "RSA",
        "pemRaw": "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1YprbrxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2Fbe8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxeKF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4Fv6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbnfpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7jPKxwV2dpAtMK9myGPW1n0sCAwEAAQ==\n-----END PUBLIC KEY-----\n"
      },
      "extensions": {
        "authorityKeyIdentifier": "52:D8:88:3A:C8:9F:78:66:ED:89:F3:7B:38:70:94:C9:02:02:36:D0",
        "subjectKeyIdentifier": "52:D8:88:3A:C8:9F:78:66:ED:89:F3:7B:38:70:94:C9:02:02:36:D0",
        "keyUsages": [
          "CRL Sign",
          "Certificate Sign"
        ]
      },
      "pemRaw": "-----BEGIN CERTIFICATE-----\nMIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDkyMjExMjIwMlowazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNvUTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuP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J+tguLHPPAUJ4lueAI3jZm/zel0btUZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXemOR/qnuOf0GZvBeyqdn6/axag67XH/JJULysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9vwGYT7JZVEc+NHt4bVaTLnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhl\n-----END CERTIFICATE-----\n"
    }
  ]
}
```

> Bad Request – Invalid domain parameter

```json
{
  "timestamp": "2025-08-14T10:27:07.511Z",
  "status": 400,
  "error": "Invalid Param Exception",
  "message": " Please pass domain param correct value e.g. whoisfreaks.com, https://whoisfreaks.com, http://whoisfreaks.com [For Technical Support: support@apifreaks.com]",
  "path": "/v1.0/domain/ssl/live/chain"
}
```

> Forbidden – Domain extension unavailable

```json
{
  "timestamp": "2025-08-14T10:27:54.671Z",
  "status": 403,
  "error": "Forbidden",
  "message": "Unavailable domain extension.",
  "path": "/v1.0/domain/ssl/live/chain"
}
```

> Not Found – No SSL certificate exists

```json
{
  "timestamp": "2025-08-14T10:28:32.443Z",
  "status": 404,
  "error": "SSL Data Not Found",
  "message": "No Ssl Certificate exists for entered Domain",
  "path": "/v1.0/domain/ssl/live/chain"
}
```

#### Responses

|Status|Meaning|Description|Schema|
|---|---|---|---|
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Successful SSL certificate chain lookup response|[SSLLookupResponse](#ssllookupresponse)|
|400|[Bad Request](https://tools.ietf.org/html/rfc7231#section-6.5.1)|Bad Request – Invalid domain parameter|[ErrorResponse](#errorresponse)|
|403|[Forbidden](https://tools.ietf.org/html/rfc7231#section-6.5.3)|Forbidden – Domain extension unavailable|[ErrorResponse](#errorresponse)|
|404|[Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4)|Not Found – No SSL certificate exists|[ErrorResponse](#errorresponse)|

#### Response Headers

|Status|Header|Type|Format|Description|
|---|---|---|---|---|
|200|X-AF-Credits-Cost|integer||Specifies the number of credits consumed by the current request.|
|400|X-AF-Credits-Cost|integer||Specifies the number of credits consumed by the current request.|
|403|X-AF-Credits-Cost|integer||Specifies the number of credits consumed by the current request.|
|404|X-AF-Credits-Cost|integer||Specifies the number of credits consumed by the current request.|

To perform this operation, you must be authenticated by means of one of the following methods:
ApiKeyAuthHeader, ApiKeyAuthQuery

## Schemas

### SSLLookupResponse

SSL certificate chain lookup response containing certificate details and extensions for each certificate in the chain.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|domainName|string|true|none|Domain name or URL that was queried.|
|queryTime|string|true|none|Timestamp when the query was executed, in `YYYY-MM-DD HH:mm:ss` format — not ISO 8601 (no `T` separator, no milliseconds, no `Z`).|
|sslCertificates|[[SSLCertificateItem](#sslcertificateitem)]|true|none|Array of SSL certificate objects forming the complete certificate chain.|
|sslRaw|string|false|none|Raw OpenSSL response text if sslRaw was set to true.|

### SSLCertificateItem

A single SSL certificate in the certificate chain.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|chainOrder|string|true|none|Position in the certificate chain (end-user, intermediate, root).|
|authenticationType|string|true|none|Authentication type (domain, organization, extended).|
|validityStartDate|string|true|none|Certificate validity start date, in `YYYY-MM-DD HH:mm:ss UTC` format — not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).|
|validityEndDate|string|true|none|Certificate validity end date, in `YYYY-MM-DD HH:mm:ss UTC` format — not ISO 8601 (space-separated, literal `UTC` suffix instead of `Z`).|
|serialNumber|string|true|none|Certificate serial number.|
|signatureAlgorithm|string|true|none|Signature algorithm used (e.g., SHA256-RSA).|
|subject|[SSLSubject](#sslsubject)|true|none|Subject information of the SSL certificate.|
|issuer|[SSLIssuer](#sslissuer)|true|none|Issuer information of the SSL certificate.|
|publicKey|[SSLPublicKey](#sslpublickey)|true|none|Public key details of the SSL certificate.|
|extensions|[SSLExtensions](#sslextensions)|true|none|X.509 certificate extensions.|
|pemRaw|string|true|none|Raw PEM-encoded certificate.|

### SSLSubject

Subject information of the SSL certificate.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|commonName|string|true|none|Common name of the subject.|
|organization|string|false|none|Organization of the subject.|
|organizationalUnit|string|false|none|Organizational unit of the subject.|
|locality|string|false|none|Locality of the subject.|
|state|string|false|none|State of the subject.|
|country|string|false|none|Country of the subject.|
|incCountry|string|false|none|Incorporation country of the subject.|
|incState|string|false|none|Incorporation state of the subject.|
|businessCategory|string|false|none|Business category of the subject.|
|street|string|false|none|Street address of the subject.|
|postalCode|string|false|none|Postal code of the subject.|
|serialNumber|string|false|none|Serial number of the subject.|

### SSLIssuer

Issuer information of the SSL certificate.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|commonName|string|true|none|Common name of the issuer.|
|organization|string|true|none|Organization of the issuer.|
|organizationalUnit|string|false|none|Organizational unit of the issuer.|
|locality|string|false|none|Locality of the issuer.|
|state|string|false|none|State of the issuer.|
|country|string|true|none|Country of the issuer.|
|incCountry|string|false|none|Incorporation country of the issuer.|
|incState|string|false|none|Incorporation state of the issuer.|
|businessCategory|string|false|none|Business category of the issuer.|
|street|string|false|none|Street address of the issuer.|
|postalCode|string|false|none|Postal code of the issuer.|
|serialNumber|string|false|none|Serial number of the issuer.|

### SSLPublicKey

Public key details of the SSL certificate.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|keySize|string|true|none|Public key size (e.g., 256 bit).|
|keyAlgorithm|string|true|none|Public key algorithm (e.g., ECDSA, RSA).|
|pemRaw|string|true|none|Raw PEM-encoded public key.|

### SSLExtensions

X.509 certificate extensions.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|authorityKeyIdentifier|string|false|none|Authority key identifier.|
|subjectKeyIdentifier|string|false|none|Subject key identifier.|
|keyUsages|[string]|true|none|Key usage extensions.|
|extendedKeyUsages|[string]|false|none|Extended key usage extensions.|
|crlDistributionPoints|[string]|false|none|CRL distribution point URLs.|
|authorityInfoAccess|[SSLAuthorityInfoAccess](#sslauthorityinfoaccess)|false|none|Authority information access details.|
|subjectAlternativeNames|[SSLSubjectAlternativeNames](#sslsubjectalternativenames)|false|none|Subject alternative names on the certificate.|
|certificatePolicies|[[SSLCertificatePolicy](#sslcertificatepolicy)]|false|none|Certificate policy objects.|

### SSLAuthorityInfoAccess

Authority information access details.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|issuers|[string]|false|none|Issuer certificate URLs.|
|ocsp|[string]|false|none|OCSP responder URLs.|

### SSLSubjectAlternativeNames

Subject alternative names on the certificate.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|dnsNames|[string]|false|none|DNS names on the certificate.|
|emailAddresses|[string]|false|none|Email addresses on the certificate.|
|ipAddresses|[string]|false|none|IP addresses on the certificate.|
|uris|[string]|false|none|URIs on the certificate.|

### SSLCertificatePolicy

A certificate policy object.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|policyId|string|false|none|Policy OID identifier.|
|policyQualifier|[SSLPolicyQualifier](#sslpolicyqualifier)|false|none|Policy qualifier for a certificate policy.|

### SSLPolicyQualifier

Policy qualifier for a certificate policy.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|oid|string|false|none|OID of the policy qualifier.|
|cpsUri|string(uri)|false|none|CPS URI for the policy qualifier.|
|userNotice|[SSLUserNotice](#sslusernotice)|false|none|User notice for a policy qualifier.|

### SSLUserNotice

User notice for a policy qualifier.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|explicitText|string|false|none|Explicit text of the user notice.|
|noticeRef|[SSLUserNoticeRef](#sslusernoticeref)|false|none|Notice reference for a user notice.|

### SSLUserNoticeRef

Notice reference for a user notice.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|organization|string|false|none|Organization for the notice reference.|
|noticeNumbers|string|false|none|Notice numbers.|

### ErrorResponse

Standard error envelope returned by the API on failed requests.

#### Properties

|Name|Type|Required|Restrictions|Description|
|---|---|---|---|---|
|error|string|false|none|Short error category or exception type.|
|message|string|true|none|Human-readable error message describing the failure.|
|path|string|false|none|API endpoint path that produced the error.|
|status|integer|false|none|HTTP status code returned with the error.|
|timestamp|string(date-time)|false|none|Timestamp when the error occurred (ISO 8601).|
