Option to disable SSL verification
mirayashi opened this issue · comments
mirayashi commented
We are using a custom NPM registry, and the SSL cert is self-signed so we get Error: self-signed certificate in certificate chain
. It would be nice to add an environment variable like COREPACK_SSL_VERIFY
that we could set to false in order to avoid such errors.
Kristoffer K. commented
That error is thrown by Node.js, you should be able to set NODE_TLS_REJECT_UNAUTHORIZED=0
to ignore it.
mirayashi commented
That error is thrown by Node.js, you should be able to set
NODE_TLS_REJECT_UNAUTHORIZED=0
to ignore it.
This worked well, thank you!