{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7403","labels_url":"https://api.github.com/repos/npm/npm/issues/7403/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7403/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7403/events","html_url":"https://github.com/npm/npm/issues/7403","id":58301588,"number":7403,"title":"Node Error in Untrusted Sources","user":{"login":"ArcanaMagus","id":10801856,"avatar_url":"https://avatars.githubusercontent.com/u/10801856?v=3","gravatar_id":"","url":"https://api.github.com/users/ArcanaMagus","html_url":"https://github.com/ArcanaMagus","followers_url":"https://api.github.com/users/ArcanaMagus/followers","following_url":"https://api.github.com/users/ArcanaMagus/following{/other_user}","gists_url":"https://api.github.com/users/ArcanaMagus/gists{/gist_id}","starred_url":"https://api.github.com/users/ArcanaMagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArcanaMagus/subscriptions","organizations_url":"https://api.github.com/users/ArcanaMagus/orgs","repos_url":"https://api.github.com/users/ArcanaMagus/repos","events_url":"https://api.github.com/users/ArcanaMagus/events{/privacy}","received_events_url":"https://api.github.com/users/ArcanaMagus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-20T02:09:18Z","updated_at":"2015-02-20T02:14:33Z","closed_at":"2015-02-20T02:14:33Z","body":"Once I run npm within the node runtime in Kali Linux( intendedd for security testing purposes) I find this error :-1: \r\nhttp GET https://registry.npmjs.org/learnyournode\r\nERR! Error: SSL Error: CERT_UNTRUSTED\r\nERR!     at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/node_mod$\r\nERR!     at ClientRequest.g (events.js:156:14)\r\nERR!     at ClientRequest.emit (events.js:67:17)\r\nERR!     at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1256:7)\r\nERR!     at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:$\r\nERR!     at CleartextStream.socketOnData [as ondata] (http.js:1288:20)\r\nERR!     at CleartextStream._push (tls.js:375:27)\r\nERR!     at SecurePair.cycle (tls.js:734:20)\r\nERR!     at EncryptedStream.write (tls.js:130:13)\r\nERR!     at Socket.ondata (stream.js:38:26)\r\nERR! You may report this log at:\r\nERR!     <http://github.com/isaacs/npm/issues>\r\nERR! or email it to:\r\nERR!     <npm-@googlegroups.com>\r\nERR!\r\nERR! System Linux 3.14-kali1-amd64\r\n\r\nCould this be the the operating system blocking excessively?\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/75178705","html_url":"https://github.com/npm/npm/issues/7403#issuecomment-75178705","issue_url":"https://api.github.com/repos/npm/npm/issues/7403","id":75178705,"user":{"login":"othiym23","id":418097,"avatar_url":"https://avatars.githubusercontent.com/u/418097?v=3","gravatar_id":"","url":"https://api.github.com/users/othiym23","html_url":"https://github.com/othiym23","followers_url":"https://api.github.com/users/othiym23/followers","following_url":"https://api.github.com/users/othiym23/following{/other_user}","gists_url":"https://api.github.com/users/othiym23/gists{/gist_id}","starred_url":"https://api.github.com/users/othiym23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/othiym23/subscriptions","organizations_url":"https://api.github.com/users/othiym23/orgs","repos_url":"https://api.github.com/users/othiym23/repos","events_url":"https://api.github.com/users/othiym23/events{/privacy}","received_events_url":"https://api.github.com/users/othiym23/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T02:14:33Z","updated_at":"2015-02-20T02:14:33Z","body":"I'm going to guess that this is because, as in #7401, you are running an obsolete version of npm (even though you cut off the piece of the error output that includes the Node and npm versions). Versions of npm prior to 1.4 used a self-signed certificate to talk to the registry. In 1.4 and higher, npm moved to using a certificate using a trusted root global cert, and so old versions of the CLI can no longer establish a secure connection. Once you upgrade to a recent Node / npm, this error will go away.\r\n\r\nSorry for the inconvenience, but it sounds like you may need to either build a newer Node from source or find a source for packages for your distribution that has a supported version of the runtime. There's not a lot we can do about it otherwise."}}