본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

TLS 서버 정책 구성 참조

원문 보기 위키 갱신

TLS 서버 정책 구성 참조 (TLS Server Policy Configuration Reference)

이 문서는 Kong Event Gateway의 TLS 서버 정책(TLS Server policy) 구성 참조 자료예요. TLS 서버 정책은 클라이언트가 TLS로 게이트웨이에 접속할 때 게이트웨이 서버가 사용하는 인증서와 키를 정의해요. 하나의 리스너에 여러 TLS 정책을 설정할 수 있지만, 한 번에 하나의 정책만 활성화된다는 점을 기억해 주세요. 여기서는 type, name, config 같은 각 필드의 의미와 필수 여부를 JSON 스키마 형태로 확인할 수 있어요

출처: 문서

본문

구성

{
  "description": "The TLS Server policy defines the certificates and keys used by the gateway server when the client connects\nto the gateway over TLS.\n\nWhile it is possible to have multiple TLS policies on a listener, only one can be active at a time.\n",
  "type": "object",
  "properties": {
    "type": {
      "description": "The type name of the policy.",
      "type": "string",
      "enum": [
        "tls_server"
      ],
      "maxLength": 255,
      "minLength": 1,
      "x-terraform-transform-const": true
    },
    "name": {
      "description": "A unique user-defined name of the policy.",
      "type": "string",
      "maxLength": 255,
      "x-unicode-pattern": "^[\\p{L}\\p{N}][\\p{L}\\p{N} _\\-\\.:/+']*[\\p{L}\\p{N}]$"
    },
    "description": {
      "description": "A human-readable description of the policy.",
      "type": "string",
      "default": "",
      "maxLength": 512
    },
    "enabled": {
      "description": "Whether the policy is enabled.",
      "type": "boolean",
      "default": true
    },
    "labels": {
      "$ref": "#/components/schemas/Labels"
    },
    "config": {
      "description": "The configuration of the policy.",
      "type": "object",
      "$ref": "#/components/schemas/EventGatewayTLSListenerPolicyConfig"
    }
  },
  "required": [
    "type",
    "config"
  ],
  "title": "TLS Listener"
}

관련 리소스

더 알아보기 (Learn more)