Connecting to postgresql using client certificate and key

Hi, my database connection of type postgresql requires client certificate and key ssl connection. I tried many solutions I found, including adding the certificate to the java keystore, adding the certificate to specific folder, adding the certificate to connection string (using environment variables or JDBC connection options through metabase UI) but no luck.

According to this post: SSL connection to Postgres with self-signed certificate

And I still get a “PSQException: FATAL: connection requires a valid client certificate”.

I would be glad to get some help with this, or add a feature to add client certificate to connect to a db.