title: Node.js dependency installation giving "self signed certificate in certificate chain"
body: <p>I am trying to install the dependency <code>ursa</code> package. But I get this error:</p>
  
  <pre><code>self signed certificate in certificate chain
  </code></pre>
  
  <p>Any idea on how to resolve this ?</p>
  
  <p>I have set the correct proxy settings and was able to download the "node-horseman" dependency as well.</p>
  
  <p>Any inputs will be much appreciated. Thanks in advance.</p>
  
  <pre><code>&gt;node --version
  v6.9.1
  &gt;npm install ursa
  ...\node_modules\ursa&gt;if not defined npm_config_node_gyp (node "C:\Users
  \xxxxxxxxxxx\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
  gyp WARN install got an error, rolling back install
  gyp ERR! configure error
  gyp ERR! stack Error: self signed certificate in certificate chain
  gyp ERR! stack     at Error (native)
  gyp ERR! stack     at TLSSocket.&lt;anonymous&gt; (_tls_wrap.js:1062:38)
  gyp ERR! stack     at emitNone (events.js:86:13)
  gyp ERR! stack     at TLSSocket.emit (events.js:185:7)
  gyp ERR! stack     at TLSSocket._finishInit (_tls_wrap.js:586:8)
  gyp ERR! stack     at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38)
  gyp ERR! System Windows_NT 6.1.7601
  gyp ERR! command "C:\\\\software\\node.exe" "C:\\Users\\xxxxxxxxxxx\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
  gyp ERR! cwd C:\xxxxxxxxxxx\git\source_code_\ursa
  gyp ERR! node -v v6.9.1
  gyp ERR! node-gyp -v v3.6.2
  gyp ERR! not ok
  npm WARN MobPhantom@1.0.0 No description
  npm WARN MobPhantom@1.0.0 No repository field.
  </code></pre>