Clearer error than "error dialing host:port: Host validation error"

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongorestore
    • None

      I had set up a replica set with both SSL and keyfile authentication enabled, and while running `mongorestore`, I kept seeing this error. Turns out there was a mismatch between the domain in the SSL PEMKeyFile and the hostname.

      A clearer error would mention something about "SSL" or "certificate".

            Assignee:
            David Golden
            Reporter:
            Dan Dascalescu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: