Hey! Had the same issue last week. Turns out the self-signed cert wasn’t being trusted by Node. You gotta add it to the trusted certs manually.
Try this:
```bash
export NODE_EXTRA_CA_CERTS=/path/to/your/cert.pem
```
Then run your nodejs https test again. Works like a charm for me.
If you’re on Windows, you might need to tweak the env vars differently. Lmk if you need help with that!
Try this:
```bash
export NODE_EXTRA_CA_CERTS=/path/to/your/cert.pem
```
Then run your nodejs https test again. Works like a charm for me.
If you’re on Windows, you might need to tweak the env vars differently. Lmk if you need help with that!
