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

Use provided username for X509 authentication

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: