Skip to content

Run tests with OPENSSL_CONF set to embedded openssl.cnf #24373

Description

@kapouer
  • Version: <= 10.13.0
  • Platform: Linux

when building with the --shared-openssl flag, it is highly probable that the openssl.cnf used by the shared library will be different than the one present in Node.js source code, resulting in several test failures.
Typically, on debian, openssl is configured with stricter options regarding key length and TLS versions.
It is very easy to avoid any test failure, though, by setting this environment variable when running tests:
OPENSSL_CONF=./deps/openssl/openssl/apps/openssl.cnf

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIssues that need assistance from volunteers or PRs that need help to proceed.opensslIssues and PRs related to the OpenSSL dependency.staletestIssues and PRs related to the tests.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions