Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-782

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

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: 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:
            christkv Christian Amor Kvalheim
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: