Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2299

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

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 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@mongodb.com David Golden
            Reporter:
            dandv Dan Dascalescu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: