nodejs - error self signed certificate in certificate chain

前端 未结 6 1744
孤街浪徒
孤街浪徒 2020-12-07 22:51

I am facing a problem with client side https requests.

A snippet can look like this:

var fs = require(\'fs\');
var https = require(\'https\');

var o         


        
6条回答
  •  鱼传尺愫
    2020-12-07 23:32

    For what it's worth, after spending a day and a half trying to track this one down it turned out the error was caused by a setting on my company's firewall that IT had to disable. Nothing anywhere on the internet did anything to fix this.

提交回复
热议问题