Open Source API Gateway

certificate

Version

A single certificate, given as a PEM block either inline or loaded from a file. Used as an item in key's certificate chain or trust's list of trusted certificates. See tutorials/ssl-tls/10-TLS-Termination.yaml.
 certificate:
   location: <file> | content: <PEM text>
 

Example Configuration

ssl:
trust:
certificates:
- content: |
-----BEGIN CERTIFICATE-----
MIIDXTCCAkWgAwIBAgIJAKL0...
-----END CERTIFICATE-----
ssl:
   trust:
     certificates:
       - content: |
           -----BEGIN CERTIFICATE-----
           MIIDXTCCAkWgAwIBAgIJAKL0...
           -----END CERTIFICATE-----

Syntax

certificate:
content: <string>
location: <string>
certificate:
  content: <string>
  location: <string>

Attributes

NameRequiredDefaultDescriptionExamples
contentfalse---
locationfalse-See here for a description of the format.-

Can be used in