SSL validation may fail depending on the order of the certificates in the CA file

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In my tests Node driver is failing to connect to the server if the CA PEM file contains the following order of the certificates:

      intermediate -> root

      If the order is reversed as:

       root -> intermediate

      Then SSL connection can be established.

      Reproduced with:

      $ npm -v mongodb
      2.15.2

              Assignee:
              Christian Amor Kvalheim
              Reporter:
              Dmitry Ryabtsev
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: