Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1042

Support certificate passphrases in pymongo

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      n/a

      Hi,

      Would it be possible to add support to the python driver for passing in the passphrase for a X.509 client certificate?

      Currently it is possible to connect to a database with a certificate and passphrase, but the user has to manually type the passphrase for every connection.
      It would be much nicer it it were possible to just pass the passphrase into the MongoClient constructor.

      The C and C# drivers support this already, via ssl_opts.pem_pwd (http://api.mongodb.org/c/current/authentication.html#x509) and the X509Certificate2 class in C#.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            mongousers@wintoncapital.com MongoDB Users
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: