Back to Teleport

Custom Db Ca

docs/pages/includes/database-access/custom-db-ca.mdx

19.0.1-dev550 B
Original Source

{{ scheme="" query="" }} Modify the Teleport Database Service to trust your {{ db }} CA, assigning <Var name='/path/to/your/ca.crt' /> to the path to your CA certificate:

yaml
  databases:
  - name: "example-{{ protocol }}"
    protocol: "{{ protocol }}"
    uri: "{{ scheme }}{{ protocol }}.example.com:{{ port }}{{ query }}"
    static_labels:
      "env": "example"
    tls:
      ca_cert_file: "<Var name='/path/to/your/ca.crt' />"

Now the Teleport Database Service will trust certificates presented by your {{ db }}.