Skip to content

src: load NODE_EXTRA_CA_CERTS at startup #20434

Description

@bnoordhuis

Right now, you might get lucky if you set process.env.NODE_EXTRA_CA_CERTS = 'foo.crt' real early.

It's not reliable and I don't think NODE_EXTRA_CA_CERTS was intended to be used that way (rather the contrary) so I suggest loading the extra certificates at startup rather than on first use.

Refs #20432.

Activity

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

    tlsIssues and PRs related to the tls subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions