Hi @MaherOUALI
If you are using Metabase Cloud, then it's currently not possible to use custom certificates, since we don't have a way to upload the certificates. It's something that we're working on, but it will not be finished any time soon. We're working on adding certificate management into the app.
For reference: Cannot connect to Postgres via SSL on Metabase Cloud