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

Support certificate passphrases in pymongo

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.3
    • None
    • n/a

    Description

      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#.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: