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

Undocumented problem with MONGODB-X509 authentication

    XMLWordPrintable

Details

    • Question
    • Status: Closed
    • Minor - P4
    • Resolution: Gone away
    • None
    • None
    • Networking
    • Connecting with IBM BlueMix, MongoDB 3.2.10, using the MongoKitten driver.
    • Fully Compatible

    Description

      I'm the developer of the MongoKitten MongoDB driver for Swift. I'm creating a connection to MongoDB using the certificate provided by IBM BlueMix. I set up the certificate and connected successfully over SSL to the MongoDB 3.2.10 instance and attempted authenticating using the "MONGODB-X509" mechanism. The authentication gets rejected with the following message: "SSL support is required for the MONGODB-X509 mechanism.".

      I've been trying to find out what this means, because I am in fact connected over SSL to the server, so I'm thinking that the error message isn't describing the problem correctly. I've had to dive into the MongoDB server codebase to figure out what this means, and it seems that it's unable to get the SSLManager object. I haven't got a clue why and how I can improve my driver to successfully connect because I'm not familiar enough with the codebase to search for a solution and am hoping someone can enlighten me better and more efficiently than I can.

      Attachments

        1. ca.pem
          3 kB
        2. client.pem
          3 kB
        3. server.pem
          3 kB

        Activity

          People

            spencer.jackson@mongodb.com Spencer Jackson
            Joannis Joannis Orlandos [X]
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: