SSL CA Validation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I'm trying to make the MongoDB-Runner deploy MongoDB instances with SSL enabled. I'm trying to test connecting to an SSL enabled deployment with the Node driver. I have it working in general but my tests are failing when I try to turn off CA validation.

      When I set sslValidate to false and provide no sslCAFile, calling MongoClient.connect() is failing with "Uncaught Error: self signed certificate in certificate chain". I can connect when I use the CA file with validation on or off, but I have to provide a CA file.

      I certainly might just have a bug that I'm missing, but I also could be misunderstanding what these options are doing so I thought I'd run it by you.

            Assignee:
            Christian Amor Kvalheim
            Reporter:
            Judah Schvimer
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: