Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14841

"mongotop --ssl" core dumps when certificate does not match the host name

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.4
    • Security, Shell
    • ALL

    Description

      on: commit c53e54e54f0833f32e53f5c1b071f3a0da6f71f3 ,"post 2.6.4-rc1"

      mongod and mongotop both built with "scons --ssl mongod mongotop", on a centos6 machine.

      [gabriel@localhost mongo]$ build/linux2/ssl/mongo/mongotop --ssl --sslCAFile ~/mongodb-cert.crt
      2014-08-08T17:54:39.692-0400 ERROR: The server certificate does not match the host name 127.0.0.1
      terminate called after throwing an instance of 'mongo::SocketException'
      what(): socket exception [CONNECT_ERROR] for
      Aborted (core dumped)

      Attachments

        1. core.25802
          40.66 MB

        Activity

          People

            Unassigned Unassigned
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: