Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-489

Use provided username for X509 authentication

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1.0
    • None
    • None
    • None

    Description

      The intention is that users explicitly provide the username for X509 auth.
      Currently the driver ignores it, and pulls it out from the provided pem file, which has to be set via mongoc_client_set_ssl_opts().

      phongo however doesn't use the mongoc ssl wrapper, and therefore never calls that function.

      mongoc needs to first check if a username was provided, and then fallback on extracting the subject from the cert.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: