AnsweredAssumed Answered

Using PiWebApi on domain using NodeJs, Error: unable to get local issuer certificate

Question asked by MichaelAdler on Aug 18, 2017
Latest reply on Aug 22, 2017 by MichaelAdler

Has anyone had experience with node and the PiWebApi? I'm on the domain (browser auth works fine) but get the error pasted below using node. Any ideas?

 

{ Error: unable to get local issuer certificate

    at Error (native)

    at TLSSocket.<anonymous> (_tls_wrap.js:1092:38)

    at emitNone (events.js:86:13)

    at TLSSocket.emit (events.js:185:7)

    at TLSSocket._finishInit (_tls_wrap.js:610:8)

    at TLSWrap.TLSSocket._init.ssl.onhandshakedone (_tls_wrap.js:440:38) code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' }

Outcomes