Hey gang,I am working through some code calling an external API and am getting a "Self Signed Certificate in chain" error in my node application. If I call this same method using Postman with SSL certificate verification turned off, my call works and I get a correct response.I've triedprocess.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; As well as setting rejectUnauthorized = 'False";This seems to do something, but then I get a socket hangup error.Does anyone have any advice or experience? What would I need to do in my application to essentially replicate the postman SSL certificate verification off?Thank you in advance!
Submitted July 11, 2019 at 07:44PM by columbusdev
No comments:
Post a Comment