Skip to content

src: load NODE_EXTRA_CA_CERTS at startupΒ #20434

@bnoordhuis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tlsIssues and PRs related to the tls subsystem.

    Type

    No type
    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