Summary
There seems to be no way to specify the client certificate to be used when enabling Postgres SSL connection
Steps To Reproduce
- Use helm-chart Kong
- Create a new instance of SQL in GCP allowing only SSL enabled connections
- 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"
}
Summary
There seems to be no way to specify the client certificate to be used when enabling Postgres SSL connection
Steps To Reproduce
pg_ssl = onAdditional Details & Logs