Bootstrap Ember Server之后的证书链错误中的自签名证书



我在coorpration代理中,每次启动ember服务器时都有一个认证错误,

➜  Dummy ember s
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
Just getting started with Ember? Please visit http://localhost:4200/ember-getting-started to get going
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
{ Error: self signed certificate in certificate chain
    at Error (native)
    at TLSSocket.<anonymous> (_tls_wrap.js:1060:38)
    at emitNone (events.js:86:13)
    at TLSSocket.emit (events.js:185:7)
    at TLSSocket._finishInit (_tls_wrap.js:584:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38) code: 'SELF_SIGNED_CERT_IN_CHAIN' }
Build successful - 16244ms.

我尝试使用ember s --ssl=false,但问题仍然存在。

任何提示都将被赞赏。

@lux的答案,

您需要做的就是将.ember-cli的内容更改为下面的摘要,

{
  "disableAnalytics": true
}

最新更新