Skip to content
Snippets Groups Projects
Unverified Commit 76e75c56 authored by Natalie's avatar Natalie Committed by GitHub
Browse files

docs - update ssl (#24599)

parent 71ea9d5d
No related branches found
No related tags found
No related merge requests found
......@@ -28,10 +28,18 @@ You'll find the certificates in the `/app/certs/` directory in Metabase's Docker
If you need a different certificate, you can build your own Docker image. Visit your external provider's page for your database and find a link to download the root certificate for connecting to your database.
### Step 2: Save the certificate in your Metabase directory
### Step 2: Save the certificate
**Self-hosted**
Save the downloaded certificate in the same directory where you keep your metabase.jar file. Technically you can store the certificate wherever, but keeping it in the same directory as your metabase.jar file is a best practice. You'll specify the certificate's path in your connection string.
**Metabase Cloud**
You'll need to complete [Step 3: Add your database](#step-3-add-your-database) first.
Once you've done that, you can go to **Admin** > **Databases** and select your database. Find the section named **SSL Client Certificate** and click **Select a file** to upload your downloaded certificate.
### Step 3: Add your database
For example, let's say you want to secure a connection to a PostgreSQL database. Follow the instructions in the app to add the database. For more on setting up a database connection, check out our docs for [adding a database](01-managing-databases.md).
......@@ -55,7 +63,7 @@ You'll add an ampersand (`&`) to separate each parameter. For example, In the **
sslmode=verify-full&sslrootcert=/path/to/certificate.pem
```
Replacing `/path/to/certifcate.pem` with the full path for the certificate you downloaded from your provider.
Replace `/path/to/certifcate.pem` with the full path for the certificate you downloaded from your provider.
You can learn more about [SSL support for PostgreSQL](https://www.postgresql.org/docs/current/libpq-ssl.html).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment