Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25162

Make SSL connection for copyDatabase() to be optional

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking, Security
    • Labels:
      None

      If instance is started with SSL enabled (e.g. Atlas) and if db.copyDatabase() is executed - the mongod will attempt to establish outbound connection with SSL. Effectively that makes it impossible for users to use copyDatabase() for data migration into an Atlas cluster as the target mongod, if started without SSL, will process SSL handshake and if it uses SSL, the certificate validation is likely to fail.

      Perhaps we could make SSL use for the outbound connection to be optional? (for copyDatabase() only)

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: