Skip to main content
All CollectionsSelf-Hosted SetupExternal MongoDB Database
Custom Certificate for MongoDB for Kendis
Custom Certificate for MongoDB for Kendis

Configure SSL certificate with MongoDB and Kendis

Kendis Team avatar
Written by Kendis Team
Updated over a year ago

To connect Mongo with SSL, you need the following files and steps.

Trusted certificates are preferred over self-signed certificates.

For Signed Certificate

1. Private Key

2. Certificate File

3. Pem File

For Third-Party Certificate (Trusted Certificate)

1. Private Key

2. Certificate File

3. CA File

4. Pem File

Installation Steps

1. Generate pem file using the following command

cat mongodb.key mongodb.crt > mongodb.pem

2. Upload the certificate and pem file from the Kendis DB connectivity screen

Ensure these are the same files you configured on your MongoDB Server SSL configuration at startup.

Test the connection, and once it's successful, save your configuration.

The setup is completed.

Did this answer your question?