Haufe-Lexware / wicked.haufe.io

An API Management system based on Mashape Kong
http://wicked.haufe.io
Other
121 stars 37 forks source link

Support TLS 1.2 for PostgreSQL DB connection #360

Open hapeka72 opened 5 months ago

hapeka72 commented 5 months ago

We are using Wicked together with a PostgreSQL DB (version 11), with an encrypted connection (SSL). We would like to connect using TLS 1.2, but it seems that this is not supported. This error message shows up in the logs:

Error: [postgres error] could not retrieve server_version: FATAL: TLS version used does not meet minimal requirements for this server. Please use a higher TLS version and retry.

We are running the whole thing in Azure, and having no support for TLS 1.2 will become a problem soon, because Azure will not support TLS versions < 1.2 after end of October. (The error above appears when we configure the DB to require TLS 1.2)