Data Connection: Having trouble with a PostgresSQL Data Connection that requires a SSH Tunnel

I’m having trouble with a PostgresSQL Direct Data Connection. The source resides in a public subnet but requires a SSH Tunnel.

Answering the exact error you face, you can setup Certificates in the configuration of the Source in Foundry (both server cert and client cert):