Can't import existing Mongo Replica set that uses SSL
Hi,
I have an existing MongoDB Replica set that uses SSL. When I am trying to import it into Cluster Control it fails with the following connection error:
-
[10:54:15]:
Adding existing cluster has failed.
[10:54:15]:
srv.mydomain.com:27017: Failed to connect to mongod service. Error: SSL connection attempt:
While connecting, the command '{ "isMaster" : 1 }' failed with error: No suitable servers found (`serverSelectionTryOnce` set): [connection closed calling ismaster on 'srv.mydomain.com:27017']. The connection URI was: mongodb://srv.mydomain.com:27017/?connecttimeoutms=10000&serverselectiontryonce=true&serverselectiontimeoutms=30000&ssl=true&sslallowinvalidhostnames=true&sslcertificateauthorityfile=/var/lib/cmon/ca/imported/srv.mydomain.com/etc/pki/mongo/mongoCA.crt
[10:54:15]:
srv.mydomain.com:27017: Verify connection to MongoDB server.
Even though it could import certificates from the server, obviously it uses them incorrectly.
Is there a way to modify its connection URI and add correct certificates?
-
Official comment
Hi,
We are sorry that thus happened. We will see if we can reproduce this problem. In the meantime, can you please open a ticket with us (support.severalnines.com) so we have a way to ask for more details of your environment if that would be needed?
Thanks,
KrzysztofComment actions
Please sign in to leave a comment.
Comments
1 comment