forwardemail / forwardemail/supertest

Use supertest for self-sign certificate

Open
#547 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14.4k
Forks
782
PR merge metrics
No merged PRs in 30d

Description

Hi guys,

We have a problem when run test, the result is 'unable to verify the first certificate', is there any built-in options on supertest to disable ssl certificate verification? just like `rejectUnauthorized` on request.
We found many suggestions use `process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0` but it doesn't work on us.

Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.