---
updatedAt: 2026-03-01T18:09:24.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/api-definitions/llms.txt
---

# Verify secure connection

Verifies that provided hostnames are signed with a provided certificate chain. This ensures that edge servers can connect to the hostnames securely. The response is a map of hostnames to connection status values. For the list of available connection status values and their descriptions, see Connection status values. You can use the response information when setting up JWKS in the [Edit JWT settings](ref:put-jwt-settings) operation.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's API Endpoint Definition API",
    "url": "https://techdocs.akamai.com/api-definitions/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "API endpoints",
    "version": "v2"
  },
  "openapi": "3.0.0",
  "paths": {
    "/endpoints/verify-secure-connection": {
      "post": {
        "description": "Verifies that provided hostnames are signed with a provided certificate chain. This ensures that edge servers can connect to the hostnames securely. The response is a map of hostnames to connection status values. For the list of available connection status values and their descriptions, see Connection status values. You can use the response information when setting up JWKS in the [Edit JWT settings](ref:put-jwt-settings) operation.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's API Endpoint Definition API",
          "url": "https://techdocs.akamai.com/api-definitions/reference/post-endpoints-verify-secure-connection"
        },
        "operationId": "post-endpoints-verify-secure-connection",
        "parameters": [
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "certChain": {
                  "content": "-----BEGIN CERTIFICATE-----\nMIIFsDCCA5igAwIBAgIJAL7HIonYis0aMA0GCSqGSIb3DQEBCwUAMG0xCzAJBgNV\nBAYTA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ABo1MwUTAdBgNVHQ4EFgQUcXwqRZUC\nj9+VsyCfy4oIMN9u1V0wHwYDVR0jBBgwFoAUcXwqRZUCj9+VsyCfy4oIMN9u1V0w\nDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAgEAQgWlrEW+K3fCMO9K\n2TuxY6ruXbdekRv+nw+weXe9+GLlyvEFxktYTE/cN8pHrKOG6F/ea+CCHW4xenVp\npchFI8zPQ8kDEDUUrPaQLbw9kzXKLZwUs+KMZXEZJInxWrr1mWeP+lVSf6f4hwNd\nfvJ8SOPe3/IAE0C79JaclzYE3ErfTlBeouQ09jXbeHc0VvodFp7XcmIMA9e5zIzu\nCU1QOa1LRrn5+TI41BbjKypMl8EE7ZEoyWRj4sMQGfuh9/kmu9ZPINJ79/j22vZG\nVj72jKoIu01qI0esfL7GcE9gd9eWhDRuBYNCAfXWK7xvMwYIxeLgP9LJoeBCVMV+\n7k1AHGpgU4UYveu71VCUIlGIaL1t/DKHi8SqDaKV2eImurPp90eLWAU1V6b+UG5/\n+HoUI8Kd5KgfPprv4AKKOTse04xbFDehvgCpQpcwzoV0h2AQtHhsN65dXfO3XPnR\nYQka7OQcEJS/gLXl7FIcpfkNyvi8ompHVSGTnAEB4qAwazz3FWe6r7qbqty2n0Ye\nNTkylMbBMFpMZrP4BP6YFf3BnkzjFcffHvtVGGUbyebQazc+5HyZycabEhekETeS\nLUOCwFWH68wXI23eU5Z7mKAI+rwhqVuJZPzZFUWfNhj7Pt/aby+7SIZAQ9YCR2lk\n6IUdRIpisR9k478g/4pQYly6yN4=\n-----END CERTIFICATE-----",
                  "name": "bookstore_cert.pem"
                },
                "hosts": [
                  "bookstore.api.akamai.com",
                  "bookstore2.api.akamai.com:8443",
                  "bookstore-premium.api.akamai.com"
                ]
              },
              "schema": {
                "additionalProperties": false,
                "description": "Contains the hostnames and certificate chain for secure connection verification.",
                "properties": {
                  "certChain": {
                    "additionalProperties": false,
                    "description": "A PEM file with the certificate to use for verification of hostnames included in the corresponding `hosts` member.",
                    "properties": {
                      "content": {
                        "description": "The contents of the PEM file that includes the certificate.",
                        "type": "string"
                      },
                      "name": {
                        "description": "The name of the PEM file that includes the certificate.",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "hosts": {
                    "description": "HTTPS hostnames to verify. Each hostname needs to be digitally signed with the certificate chain described in the corresponding `certChain` field. If your hostname uses a different port for secure connections than the default 443, you can indicate it after a colon.",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "hosts",
                  "certChain"
                ],
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/verify-secure-connection-dto.yaml"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "bookstore-premium.api.akamai.com": {
                    "detail": "The common name in the hostname certificate doesn't correspond to the common name in the hostname. Ensure that both entities refer to the same common name.",
                    "title": "CN_MISMATCH_ERROR"
                  },
                  "bookstore.api.akamai.com": {
                    "detail": "The hostname is signed with the provided certificate chain and API Gateway can establish a secure connection.",
                    "title": "OK"
                  }
                },
                "schema": {
                  "description": "Each hostname to verify and its corresponding connection status.",
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/verify-secure-connection-dto-response.yaml"
                  }
                }
              }
            },
            "description": "The map of hostnames to verification statuses."
          }
        },
        "summary": "Verify secure connection",
        "tags": [
          "Endpoints"
        ]
      },
      "x-akamai": {
        "file-path": "paths/verify-secure-connection.yaml",
        "path-info": "/endpoints/verify-secure-connection"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/api-definitions/v2"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "03-api-endpoint-resource.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Register an endpoint](https://techdocs.akamai.com/api-definitions/reference/post-endpoints.md)
* [List endpoints](https://techdocs.akamai.com/api-definitions/reference/get-endpoints.md)
* [Clone an endpoint](https://techdocs.akamai.com/api-definitions/reference/post-endpoint-clone.md)
* [Register an endpoint from an API definition file](https://techdocs.akamai.com/api-definitions/reference/post-endpoints-file.md)
* [List user entitlements](https://techdocs.akamai.com/api-definitions/reference/get-user-entitlements.md)
* [Delete an endpoint](https://techdocs.akamai.com/api-definitions/reference/delete-endpoint.md)
* [Hide an endpoint](https://techdocs.akamai.com/api-definitions/reference/post-endpoint-hide.md)
* [Show an endpoint](https://techdocs.akamai.com/api-definitions/reference/post-endpoint-show.md)