Having problems doing requests over invalid SSL from my browserify
react app, I basically have this issue: https://github.com/request/request/issues/418 as I'm using request
.
I have tried setting both strictSSL=false
and rejectUnauthorized=false
but it doesn't work.
The other solution was to set the environment variable NODE_TLS_REJECT_UNAUTHORIZED
to 0. But I can't do that in my browserify/envify environment.
Help!