Skip to content

Allow TLS node to load certs/keys from env vars not just local files or stored in flow. #5357

@hardillb

Description

@hardillb

Current Behavior

The TLS node has 2 modes for client certs/keys

  1. load from paths provided on local file system
  2. upload and store in flows credentials

This doesn't always work well for NR instances running with custom storage plugins that may not have access to a writeable local file system.

Expected Behavior

Add a extra option to load certs/keys from PEM encoded environment variables

Steps To Reproduce

No response

Example flow

paste your flow here

Environment

  • Node-RED version: 4.1.x
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions