× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
NielsGron reported 2015-11-14T02:55:36Z  · tariqrahiman last modified 2015-12-07T09:28:20Z

Change MongoDB SSL option to allow invalid certificates


customer request
Dev
Emil Goicovici
emil.goicovici
QA
Jenny Nishimura
JennyNishimura
Priority Minor
Complexity Unknown
Component MongoSQL
Version 17.0

In MongoDB 3.0 there is now an option for SSL connections to allow invalid certificates.  By default, they are not allowed and the connection will fail.  In ADS v17 we should just allow invalid certificates as is done in jTDS.  See MongoDriver : Line 263.

jTDS uses : TdsTlsSocketFactory
http://grepcode.com/file/repo1.maven.org/maven2/net.sourceforge.jtds/jtds/1.3.1/net/sourceforge/jtds/ssl/SocketFactories.java#SocketFactories.TdsTlsSocketFactory

PostgreSQL uses : org.postgresql.ssl.NonValidatingFactory
http://grepcode.com/file/repo1.maven.org/maven2/postgresql/postgresql/9.1-901.jdbc4/org/postgresql/ssl/NonValidatingFactory.java#NonValidatingFactory

 

 

This thread discussing the problem you are getting : https://groups.google.com/forum/#!topic/mongodb-user/Ro4PmoLBZWQ
This docs tickets was issued because of the thread : https://jira.mongodb.org/browse/JAVA-1396
This documentation was generated because of the issue : https://docs.mongodb.org/manual/tutorial/configure-ssl/#java
 

In this documentation : https://docs.mongodb.org/manual/tutorial/configure-ssl-clients/ ... I see this "Changed in version 3.0: When running mongo with the --ssl option, you must include either --sslCAFile or --sslAllowInvalidCertificates.".

 

Issue #13855

Closed
Fixed
Resolved 2015-11-16T20:02:46Z
 
 
Completion
No due date
Fixed Build ADS 17.0.0-rc-37, mongo-jdbc 1.4.7.9, 2.4.7.9
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017