Claude Platform Docs

터널 인증서 생성

Deprecated
POST/v1/organizations/tunnels/{tunnel_id}/certificates

지원 중단. 이 Admin API 엔드포인트는 Claude API의 /v1/tunnels로 대체되었으며 마이그레이션 기간 이후 제거될 예정입니다. 새 통합은 anthropic-beta: mcp-tunnels-2026-06-22 헤더와 workspace:manage_tunnels 범위를 가진 WIF 토큰과 함께 /v1/tunnels를 사용해야 합니다. 기존 통합은 마이그레이션 기간 동안 mcp-tunnels-2026-05-19 헤더와 org:manage_tunnels 범위로 계속 작동합니다.

터널에 대한 공개 CA 인증서를 등록합니다.

Anthropic은 내부 TLS 세션을 종료할 때 이 CA에 대해 게이트웨이의 서버 인증서를 검증합니다. PEM 본문에는 정확히 하나의 X.509 인증서가 포함되어야 하며 개인 키 자료는 포함되지 않아야 합니다. 터널은 보관되지 않은 인증서를 최대 두 개까지 보유합니다.

Path parameters
tunnel_id: string

ID of the Tunnel.

Headers
"anthropic-beta": array of "mcp-tunnels-2026-05-19"

Required for all Tunnel endpoints.

Body
ca_certificate_pem: string

PEM-encoded X.509 CA certificate. Must contain exactly one certificate and no private-key material.

maxLength8192
Returns
id: string

ID of the Tunnel Certificate.

archived_at: string or null

RFC 3339 datetime string indicating when the certificate was archived, or null if it is not archived.

formatdate-time
created_at: string

RFC 3339 datetime string indicating when the certificate was registered.

formatdate-time
expires_at: string or null

RFC 3339 datetime string indicating when the certificate expires, or null if it does not expire.

formatdate-time
fingerprint: string

The certificate's SHA-256 fingerprint, as a lowercase hex string.

tunnel_id: string

ID of the Tunnel this certificate is registered against.

type: "tunnel_certificate"

Object type. Always tunnel_certificate for Tunnel Certificates.

defaulttunnel_certificate
터널 인증서 생성
cURL
curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/certificates \
    -H 'Content-Type: application/json' \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
    -d '{
          "ca_certificate_pem": "-----BEGIN CERTIFICATE-----\nMIIBexampleEXAMPLEexampleEXAMPLEexampleEXAMPLEexampleEXAMPLEexa\n...illustrative placeholder, not a real certificate...\n-----END CERTIFICATE-----\n"
        }'
Returns Examples
Response 200
{
  "id": "tcrt_01JmWq4ZxnBvR7tKpY2sLdH9",
  "archived_at": "2024-11-01T23:59:27.427722Z",
  "created_at": "2024-10-30T23:58:27.427722Z",
  "expires_at": "2024-10-30T23:58:27.427722Z",
  "fingerprint": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
  "tunnel_id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",
  "type": "tunnel_certificate"
}