As of right now there is no way for Apidog to connect to an SSL enabled Postgres database, it will end up with an error 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) {
It looks like pg-protocol has an option to start a connection with the SSL flag, but there is no way for us to enable this in ApiDog atm