Skip to content

Unable to set client certificate for Postgres SSL connection #5423

@neumachen

Description

@neumachen

Summary

There seems to be no way to specify the client certificate to be used when enabling Postgres SSL connection

Steps To Reproduce

  1. Use helm-chart Kong
  2. Create a new instance of SQL in GCP allowing only SSL enabled connections
  3. Deploy Kong with the configuration of pg_ssl = on

Additional Details & Logs

{
 insertId: "qfggk8rqvv2a18nr9"  
 labels: {
  k8s-pod/app: "kong"   
  k8s-pod/component: "init-migrations"   
  k8s-pod/controller-uid: "19bfac91-87d5-4be6-a243-5ba5820a2afa"   
  k8s-pod/job-name: "kong-supply-kong-init-migrations"   
  k8s-pod/release: "kong-supply"   
 }
 logName: "projects/production-apps/logs/stderr"  
 receiveTimestamp: "2020-01-09T19:05:22.289472751Z"  
 resource: {
  labels: {…}   
  type: "k8s_container"   
 }
 severity: "ERROR"  
 textPayload: "Error: [PostgreSQL error] failed to retrieve server_version_num: FATAL: connection requires a valid client certificate

"  
 timestamp: "2020-01-09T19:04:34.372554762Z"  
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    task/featureRequests for new features in Kong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions