-
Notifications
You must be signed in to change notification settings - Fork 13k
Description
Description:
It's not currently possible to provide connection settings to the Mongo driver with Rocket Chat. This is required to provide a PEM file and CA cert file if Mongo is configured to only accept connections from clients with valid certs. Simply adding ssl=true to the MONGO_URI isn't sufficient because there's no way to pass the sslCA and sslCert parameters in the URI.
Meteor supports passing extra options to the underlying mongo driver. Rocket chat should provide a way for connection options to be configured to allow this usecase.
Server Setup Information:
- Version of Rocket.Chat Server: 0.63.3
- mongoDB Version: 3.6
Steps to Reproduce:
- Create a mongo replica set secured with TLS.
- Try to configure Rocket chat to connect to mongo with a verified SSL certificate.
Expected behavior:
Rocket chat should provide a mechanism to configure the mongo driver to pass the required parameters to connect via TLS with verified certificates.
Actual behavior:
It's not possible to configure the mongo driver in Rocket chat so it can't connect.