Connect to postgresql database via SSL

Hi everyone,
I managed to get a certificate for an SSL connection with a postgresql database but I can't find where to add my key and certificate files in Metabase to connect to my database and even if I add them in the JDBC as the following: "sslmode=require&sslcert=\Users\Asus\Desktop\MIAP.postgresql\pg_admin_postgresql.crt&sslkey=\Users\Asus\Desktop\MIAP.postgresql\pg_admin_postgresql.key&sslrootcert=\Users\Asus\Desktop\MIAP.postgresql\pg_admin_root.crt" it doesn't work either.
Any help plz on how to connect using SSL certificate

  "browser-info": {
    "language": "fr-FR",
    "platform": "Win32",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36",
    "vendor": "Google Inc."
  "system-info": {
    "file.encoding": "UTF-8",
    "": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.11+9",
    "java.vendor": "AdoptOpenJDK",
    "java.vendor.url": "",
    "java.version": "11.0.11",
    "": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.11+9",
    "": "Linux",
    "os.version": "4.14.219-164.354.amzn2.x86_64",
    "user.language": "en",
    "user.timezone": "GMT"
  "metabase-info": {
    "databases": [
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "11.9"
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.2.18"
    "run-mode": "prod",
    "version": {
      "date": "2021-05-17",
      "tag": "v1.39.2",
      "branch": "release-x.39.x",
      "hash": "b0d9436"
    "settings": {
      "report-timezone": "Europe/Paris"

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

Hi @flamber,
Thank you for your reply. In fact, i'm using the metabase app, as far as i understood, there is no way to connect to a private database through SSL ? if it's the case do you recommend any other solution or hack or any helpful reference (i've seen some talking about using java keytool)?
Thanks in advance.

@MaherOUALI Post "Diagnostic Info" from Admin > Troubleshooting from where ever you are running Metabase, since the info you provided earlier looks like it's Metabase Cloud.