Add option to enable SSL based Postgres connection
Paul
We use Postgres databases with SSL enabled, as of right now there is no way in Apidog to specify SSL should be used to connect with the database, resulting in an error like below
error: no pg_hba.conf entry for host "x.x.x.x", user "user", database "database", no encryption
at Parser.parseErrorMessage (/home/runner/.npm/_npx/ae100d9c15b15973/node_modules/pg-protocol/dist/parser.js:283:98)
at Parser.handlePacket (/home/runner/.npm/_npx/ae100d9c15b15973/node_modules/pg-protocol/dist/parser.js:122:29)
at Parser.parse (/home/runner/.npm/_npx/ae100d9c15b15973/node_modules/pg-protocol/dist/parser.js:35:38)
at Socket.<anonymous> (/home/runner/.npm/_npx/ae100d9c15b15973/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
Evans
Thank you for your feedback and we will look into this issue. Could you please provide us with the TLS version for your PostgreSQL?