Use provided username for X509 authentication

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Hannes Magnusson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: