Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4562

Auth tests fail with OpenSSL 1.1.0

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.24.0
    • Affects Version/s: None
    • Component/s: None

      After auditing compilation and test scripts (GitHub PR; CDRIVER-3620) it was discovered that tests were not compiling and linking against the intended custom OpenSSL libraries. Fixing this issue resulted in task failure of build-and-run-authentication-tests-openssl-1.1.0 whose cause is still unknown.

      Ping failure: No suitable servers found: `serverselectiontimeoutms` timed out:
      [TLS handshake failed: certificate verify failed (20): unable to get local issuer certificate calling hello on '<host00>:27017']
      [TLS handshake failed: certificate verify failed (20): unable to get local issuer certificate calling hello on '<host01>:27017']
      [TLS handshake failed: <truncated>
      

      Patch testing validated that the correct OpenSSL library is being compiled and linked against during execution. Other possibilities include incorrect SSL certificate installation (unlikely given other auth tests succeed), an OpenSSL 1.1.0-specific incompatibility (unlikely given auth tests running against OpenSSL 1.1.1 succeed; check release notes?), or some sort of conflict/confusion with the system-installed OpenSSL library (unlikely given correct dynamic loading of OpenSSL 1.1.0 library?).

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            ezra.chung@mongodb.com Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: