isaacs/npm — Issue #1580: SSL Error: CERT_UNTRUSTED on Linux and OS X 10.6.8
Author: hutch
Created: 2011-10-21 10:32:31+00:00
State: open

We've been getting this error since sometime mid-morning on Oct 18, before that worked fine. Same problem on Linux.

info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', '.' ]
info using npm@1.0.99
info using node@v0.4.12
verbose /usr/local/bin/node node symlink
verbose config file /Users/rhutchis/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
silly testEngine { name: 'app',
silly testEngine version: '0.0.1',
silly testEngine dependencies: { 'http-proxy': 'http-proxy' },
silly testEngine _id: 'app@0.0.1',
silly testEngine devDependencies: {},
silly testEngine engines: { node: '*' },
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.99',
silly testEngine _nodeVersion: 'v0.4.12',
silly testEngine _defaultsLoaded: true,
silly testEngine scripts: {} }
verbose caching /private/tmp/npm-test/package.json
verbose loadDefaults app@0.0.1
verbose where, deps [ '/private/tmp/npm-test', [ 'http-proxy' ] ]
verbose from cache /private/tmp/npm-test/package.json
info preinstall app@0.0.1
verbose from cache /private/tmp/npm-test/package.json
verbose into /private/tmp/npm-test [ 'http-proxy@http-proxy' ]
verbose cache add http-proxy@http-proxy
verbose cache add [ 'http-proxy@http-proxy', null ]
silly cache add: name, spec, args [ undefined,
silly cache add: name, spec, args 'http-proxy@http-proxy',
silly cache add: name, spec, args [ 'http-proxy@http-proxy', null ] ]
verbose parsed url { pathname: 'http-proxy@http-proxy',
verbose parsed url href: 'http-proxy@http-proxy' }
silly cache add: name, spec, args [ 'http-proxy',
silly cache add: name, spec, args 'http-proxy',
silly cache add: name, spec, args [ 'http-proxy', 'http-proxy' ] ]
verbose parsed url { pathname: 'http-proxy', href: 'http-proxy' }
info addNamed [ 'http-proxy', 'http-proxy' ]
verbose addNamed [ null, null ]
info addNameTag [ 'http-proxy', 'http-proxy' ]
verbose GET http-proxy
verbose raw, before any munging http-proxy
verbose url resolving [ 'https://registry.npmjs.org/', './http-proxy' ]
verbose url resolved https://registry.npmjs.org/http-proxy
verbose etag "AWGI6DQIJ0AFENBDJJCKI3R94"
ERR! Error: SSL Error: CERT_UNTRUSTED
ERR! at ClientRequest. (/usr/local/lib/node_modules/npm/node_modules/request/main.js:241:28)
ERR! at ClientRequest.g (events.js:143:14)
ERR! at ClientRequest.emit (events.js:64:17)
ERR! at HTTPParser.onIncoming (http.js:1357:9)
ERR! at HTTPParser.onHeadersComplete (http.js:108:31)
ERR! at CleartextStream.ondata (http.js:1231:22)
ERR! at CleartextStream._push (tls.js:303:27)
ERR! at SecurePair.cycle (tls.js:577:20)
ERR! at EncryptedStream.write (tls.js:96:13)
ERR! at Socket.ondata (stream.js:36:26)
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Darwin 10.8.0
ERR! command "node" "/usr/local/bin/npm" "install" "."
ERR! cwd /private/tmp/npm-test
ERR! node -v v0.4.12
ERR! npm -v 1.0.99
verbose exit [ 1, true ]