Skip to main content
Version: v0.15

Update Note: Version v0.7.0

Upgrade from legacy key declaration

Gateway TLS

  • Old version
version: 2
gateway:
tls:
keys:
- cert: /path/to/certificate.crt # File path to the TLS certificate
key: /path/to/private.key # File path to the private key
- cert: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS... # Base64-encoded certificate
key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS... # Base64-encoded private key
- cert: | # Raw certificate content (PEM format)
-----BEGIN CERTIFICATE-----
<certificate content>
-----END CERTIFICATE-----
key: | # Raw private key content (PEM format)
-----BEGIN PRIVATE KEY-----
<private-key content>
-----END PRIVATE KEY-----
  • New version
version: 2
gateway:
tls: # Global TLS configuration for the gateway
certificates: # List of TLS certificates and private keys
- cert: /path/to/certificate.crt # File path to the TLS certificate
key: /path/to/private.key # File path to the private key
- cert: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS... # Base64-encoded certificate
key: LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS... # Base64-encoded private key
- cert: | # Raw certificate content (PEM format)
-----BEGIN CERTIFICATE-----
<certificate content>
-----END CERTIFICATE-----
key: | # Raw private key content (PEM format)
-----BEGIN PRIVATE KEY-----
<private-key content>
-----END PRIVATE KEY-----
routes: []