Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-1917

Percona Toolkit MongoDB not working with TLS

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Hello

      Trying to use Percona Toolkit with MongoDB 4.2+ and due to deprication of SSL on new versions the SSL configurations is not working:

      [root@mngdb02 scripts]# pt-mongodb-summary --authenticationDatabase=admin --password=admin --sslCAFile="/ssl/ca.pem" --sslPEMKeyFile="/ssl/mongodb.pem" --username=admin mngdb02:11100
      
      2020-12-23T04:02:47.978-0800 I NETWORK [conn244] Error receiving request from client: SSLHandshakeFailed: The server is configured to only allow SSL connections. Ending connection from ******:58978 (connection id: 244)
      2020-12-23T04:02:47.978-0800 I NETWORK [conn244] end connection *****:58978 (0 connections now open)
      [root@mngdb02 scripts]# mongo --version
      MongoDB shell version v4.2.11
      git version: ea38428f0c6742c7c2c7f677e73d79e17a2aab96
      OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
      allocator: tcmalloc
      modules: none
      build environment:
          distmod: rhel70
          distarch: x86_64
          target_arch: x86_64
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gena12m Gennadiy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist