connection error: ssl certification option

Hello community,
MongoDB server version: 4.0.27
I am trying to connect prometheus-exporter’s container with mongoDB container but facing issue in SSL options within connection string.
mongodb-exporter: GitHub - percona/mongodb_exporter: A Prometheus exporter for MongoDB including sharding, replication and storage engines
Connection string: //flexsnap-mongodb/?ssl=true&sslclientcertificatekeyfile="cert key pem"mongodb.cert.pem&sslinsecure=true&sslcertificateauthorityfile=
“ca cert path”
I am on Ubuntu 16.04

Hey @Yash_Chavan,

Welcome to the MongoDB Community Forums! :leaves:

Which version of mongodb-exporter are you using? Also, can you please send the full error statement/logs that you are getting for us to see and help you out?

Regards,
Satyam

1 Like