Details
Description
I have a problem on MongoDB for using the SSL mode. When I trying to connect on my database, I have this error. (I use a valid certificate from gandi.net )
|
Mongo shell connexion error |
mongo --ssl --sslCAFile /etc/ssl/certs/GandiStandardSSLCA2.pem --host plip.plop.com
|
|
|
MongoDB shell version: 3.0.6
|
connecting to: plip.plop.com:27017/test
|
2015-10-16T10:24:23.122+0000 E NETWORK SSL peer certificate validation failed:certificate not trusted
|
2015-10-16T10:24:23.126+0000 E QUERY Error: socket exception [CONNECT_ERROR] for
|
at connect (src/mongo/shell/mongo.js:181:14)
|
at (connect):1:6 at src/mongo/shell/mongo.js:181
|
|
Mongo server response |
2015-10-16T10:26:53.034+0000 I NETWORK [initandlisten] connection accepted from 172.17.0.227:48786 #1 (1 connection now open)
|
2015-10-16T10:26:53.046+0000 W NETWORK [conn1] no SSL certificate provided by peer
|
2015-10-16T10:26:53.046+0000 I NETWORK [conn1] end connection 172.17.0.227:48786 (0 connections now open)
|