Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Error: unable to get local issuer certificate #35

Open
UtkarshMishr opened this issue Jan 23, 2018 · 2 comments
Open

Error: Error: unable to get local issuer certificate #35

UtkarshMishr opened this issue Jan 23, 2018 · 2 comments

Comments

@UtkarshMishr
Copy link

Getting below error

{ Error: Error: unable to get local issuer certificate
at generateError (C:\Users\mishrut\full_stack\gitlab_rally_alm\node_modules\rally\dist\request.js:38:11)
at Request._callback (C:\Users\mishrut\full_stack\gitlab_rally_alm\node_modules\rally\dist\request.js:110:20)
at self.callback (C:\Users\mishrut\full_stack\gitlab_rally_alm\node_modules\request\request.js:187:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.onRequestError (C:\Users\mishrut\full_stack\gitlab_rally_alm\node_modules\request\request.js:813:8)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
errors:
[ { Error: unable to get local issuer certificate
at TLSSocket. (_tls_wrap.js:1103:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:637:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:467:38) code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' } ] }
(node:9540) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Error: unable to get local issuer cert
(node:9540) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not hand
minate the Node.js process with a non-zero exit code.
{ Error: Error: unable to get local issuer certificate
at generateError (C:\Users\mishrut\full_stack\gitlab_rally_alm\node_modules\rally\dist\request.js:38:11)
at Request._callback (C:\Users\mishrut\full_stack\gitlab_rally_alm\node_modules\rally\dist\request.js:110:20)
at self.callback (C:\Users\mishrut\full_stack\gitlab_rally_alm\node_modules\request\request.js:187:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.onRequestError (C:\Users\mishrut\full_stack\gitlab_rally_alm\node_modules\request\request.js:813:8)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
errors:
[ { Error: unable to get local issuer certificate
at TLSSocket. (_tls_wrap.js:1103:38)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:637:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:467:38) code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' } ] }
(node:9540) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Error: unable to get local issuer cert

@krmorse
Copy link
Contributor

krmorse commented Jan 23, 2018

Sounds like your company network is using a cert in its proxy that your code doesn't trust: nodejs/node#3742

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants