Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1380

Don't verify certificate hostname for Unix Domain Sockets

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • None

      When connecting over UDS, doing certificate hostname verification makes no sense.

      We should detect this a little earlier and set allow_invalid_hostname=true automatically so individual TLS implementation doesn't have to do silly checks for it like https://github.com/mongodb/mongo-c-driver/blob/master/src/mongoc/mongoc-stream-tls-secure-transport.c#L401

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: