Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-871

Support the MONGODB-X509 authentication mechanism

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0, 3.0.0
    • Affects Version/s: None
    • Component/s: Authentication
    • None

      This ticket is to support authentication using the distinguished subject name of the X.509 Certificate presented during SSL negotiation as the username.

      Essentially, this is yet another protocol in addition to MONGODB-CR and SASL that will need to be implemented.

      The command document for this mechanism is:

      {authenticate: 1, mechanism: 'MONGODB-X509', user: <username>}
      

      ...where <username> is the distinguished subject name of the X.509 client certificate in RFC 2253 format. It can be determined using openssl:

      openssl x509 -in </path/to/client.pem> -inform PEM -subject -nameopt RFC2253

        There are no Sub-Tasks for this issue.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: