【问题标题】:Error: SELF_SIGNED_CERT_IN_CHAIN error错误:SELF_SIGNED_CERT_IN_CHAIN 错误
【发布时间】:2014-10-02 15:37:07
【问题描述】:

我最近在我的 heroku 服务器上更新了 ssl 证书。 scheduler.js 任务运行时出现此错误。

我在herlu上提出了票,但遗憾的是没有回应。

堆栈跟踪

Error: SELF_SIGNED_CERT_IN_CHAIN at SecurePair.<anonymous> (tls.js:1283:32) at SecurePair.EventEmitter.emit (events.js:92:17) at SecurePair.maybeInitFinished (tls.js:896:10) at CleartextStream.read [as _read] (tls.js:430:15) at CleartextStream.Readable.read (_stream_readable.js:294:10) at EncryptedStream.write [as _write] (tls.js:344:25) at doWrite (_stream_writable.js:211:10) at writeOrBuffer (_stream_writable.js:201:5) at EncryptedStream.Writable.write (_stream_writable.js:172:11) at write (_stream_readable.js:547:24)

【问题讨论】:

    标签: node.js heroku


    【解决方案1】:

    我发现 here - 检查您是否有防病毒软件阻止了一些所需的证书。

    如果没有,请检查此线程: Npm SELF_SIGNED_CERT_IN_CHAIN on Azure

    建议升级 npm:

    npm update -g 
    

    npm config set ca ""
    

    如果两者都不起作用,请尝试降级您的 node.js 版本...

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-01
      • 2013-06-22
      • 2018-09-08
      • 2016-04-02
      • 1970-01-01
      相关资源
      最近更新 更多