isomorphic-git/isomorphic-git
Auf GitHub ansehensupport 'agent' for corporate SSL proxies
Open
#202 geöffnet am 17. Mai 2018
good first issueplugin
Beschreibung
I get a certificate error due to the github repo being on an enterprise server:
(node:14790) UnhandledPromiseRejectionWarning: Error: unable to get local issuer certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1046:34)
at TLSSocket.emit (events.js:180:13)
at TLSSocket._finishInit (_tls_wrap.js:633:8)
(node:14790) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(
Using process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; helps but putting this out there so that there can be a more official way to handle this.