secure-access-configure-database-for-ssl

Overview:

There are 4 potential scenarios where you want to use SSL Certificates to secure access.

  1. Kong Admin API
  2. Client to Kong API
  3. Kong to Upstream API
  4. Database Certificate

Scenario

In this execise, you will configure your database for SSL (scenario 4 above). This allows connections between Kong and your database over HTTPs.

High Level Tasks

  1. Modify your Kong.conf file
  2. Enable database ssl: pg_ssl=on or cassandra_ssl=on
  3. Configure lua_ssl_trusted_certificate = /absolute path of CA authority file in Pem format
  4. Save and Restart Kong.conf file
  5. Verify Configurations

Documentation

Back

Edit this page