Skip to content

parallel/test-tls-ocsp-callback fails with OpenSSL 3.6.0 #60088

Description

@richardlau

When Node.js (current main) is built dynamically linked against OpenSSL 3.6.0, I'm seeing one test failure in parallel/test-tls-ocsp-callback (Linux x64).

nodejs@fec15585680c:~/node$ out/Release/node -p process.versions.openssl
3.6.0
nodejs@fec15585680c:~/node$ out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/nodejs/node/test/parallel/test-tls-ocsp-callback.js
/home/nodejs/node/test/parallel/test-tls-ocsp-callback.js:93
        assert.strictEqual(resp.toString(), testOptions.response);
                                ^

TypeError: Cannot read properties of null (reading 'toString')
    at TLSSocket.<anonymous> (/home/nodejs/node/test/parallel/test-tls-ocsp-callback.js:93:33)
    at TLSSocket.<anonymous> (/home/nodejs/node/test/common/index.js:475:15)
    at TLSSocket.emit (node:events:508:28)
    at TLSWrap.onocspresponse (node:internal/tls/wrap:441:22)

Node.js v25.0.0-pre
nodejs@fec15585680c:~/node$

cc @nodejs/crypto

While we have no plans to update deps/openssl to OpenSSL 3.6 as we'd prefer to stay on Long Term Support (LTS) versions of OpenSSL, we could replace the CI testing against dynamically linked OpenSSL 3.1, which is now out of support, with testing against dynamically linked OpenSSL 3.6 (once all tests pass).

Activity

  1. added
    opensslIssues and PRs related to the OpenSSL dependency.
    on Oct 1, 2025
  2. panva commented on Oct 1, 2025

    @panva
    Member

    we could replace the CI testing against dynamically linked OpenSSL 3.1, which is now out of support, with testing against dynamically linked OpenSSL 3.6 (once all tests pass).

    Testing against OpenSSL that's out of support is imho pointless, let's replace 3.1 with 3.6

  3. Mulling commented on Oct 16, 2025

    @Mulling

    Possibly related to openssl/openssl#28902

  4. aduh95 commented on Nov 28, 2025

    @aduh95
    Contributor

    Possibly related to openssl/openssl#28902

    I've tested to build Node.js with a patched OpenSSL 3.6.0 (i.e. with the patch that closed that issue), but I'm still seeing the same error :/

  5. sebastianas commented on Mar 11, 2026

    @sebastianas
    Contributor

    As per openssl/openssl#30379 (comment) the response must be a string but a OCSP response.

  6. panva commented on Apr 20, 2026

    @panva
    Member

    Resolved in #62805

  7. alfasin commented on Apr 26, 2026

    @alfasin

    when will it be released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    opensslIssues and PRs related to the OpenSSL dependency.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions