引导程序包含服务器后证书链错误中的自签名证书

时间:2016-12-12 08:53:53

标签: ember.js ember-cli

我在coorpration proxy中,每次启动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,但问题仍然存在。

任何提示都表示赞赏。

1 个答案:

答案 0 :(得分:0)

来自@Lux,

的回答

您需要做的就是将.ember-cli的内容更改为以下代码段

{
  "disableAnalytics": true
}