Don't verify certificate hostname for Unix Domain Sockets

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Hannes Magnusson (Inactive)
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: