Skip to content

Unable to fetch from local service with self-signed certificate #685

@mikejarosch-aw

Description

@mikejarosch-aw

Executing a fetch request in a step to a locally running service with a self-signed certificate generates the below error message. I have NODE_EXTRA_CA_CERTS environment variable set with the local CA for the certificates. I am using the sandboxed fetch method from the workflow package.

Error message;
FetchError: request to https://.../ failed, reason: unable to verify the first certificate; if the root CA is installed locally, try running Node.js with --use-system-ca

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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