Self signed certificate issues. Stuck at "Connecting to Network

[2018-03-02 12:44:42:0698] [debug] Connection Lost. Reconnecting …
[2018-03-02 12:44:44:0261] [debug] CardanoClientApi::syncProgress called
[2018-03-02 12:44:44:0285] [error] CardanoClientApi::syncProgress error: {
  "stack": "Error: self signed certificate in certificate chain\n    at Error (native)\n    at TLSSocket.<anonymous> (_tls_wrap.js:1060:38)\n    at emitNone (events.js:86:13)\n    at TLSSocket.emit (events.js:185:7)\n    at TLSSocket._finishInit (_tls_wrap.js:584:8)\n    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38)",
  "message": "self signed certificate in certificate chain",
  "code": "SELF_SIGNED_CERT_IN_CHAIN"
}
[2018-03-02 12:44:44:0287] [debug] Connection Lost. Reconnecting …