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.