Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-11168

Postgresql SSL Remote connection seems to fail and ignores skip validation

Details

    Description

      In PMM-Version 2.33.0 RC candidate, our automation tests fail when trying to add a local SSL setup, we add the instance with remote UI and ensure to skip Certificate validation, but still end up getting an error message

       

      This seemed to work fine on 2.32.0 and prior versions, so this is a regression. 

      STR: 

      Please setup pmm-server 2.33.0-rc and client rc, using perconalab/pmm-server:2.33.0-rc 
      1) Setup postgresql with SSL/TLS

      2) Generate certs, (you can use --setup-postgres-ssl on staging start job to re-use our setup)

      3) Certificates are present under (/srv/pmm-qa/pmm-tests/tls-ssl-setup/postgres/15) directory if you used staging instance. 
      4) Open remote instance page, try adding postgres instance using SSL flags. 

      Expected Results:

      Instance is added for monitoring

      Actual Result:

      Error about certification hostname validation

      Attachments

        Activity

          People

            igor.cherkasov Ihor Cherkasov
            puneet.kala Puneet Kala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist