Skip to content

[feat. request] Allow reading CA certificate and key file from a variable instead of a file. #12639

@amithm7

Description

@amithm7

Currently ListenTlsOptions require a path to the cert and key files:

export interface ListenTlsOptions extends ListenOptions {
/** Path to a file containing a PEM formatted CA certificate. Requires
* `--allow-read`. */
certFile: string;
/** Server public key file. Requires `--allow-read`.*/
keyFile: string;

It would be great if these could be read from a variable.

So that these could be loaded from environment variables.

Metadata

Metadata

Assignees

Labels

ext/netrelated to ext/netfeatnew feature (which has been agreed to/accepted)

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