Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

DEPTH_ZERO_SELF_SIGNED_CERT error in fetching public jwt signing certificate

Not applicable

Hi,


We setup a custom self signed certificate for signing JWT. This is set in edgemicro config as -

jwt_public_key: 'https://changedhost-changedenv.apigee.net/jwt/signing'

This works in all environments and has been working in all edgemicro versions. But for one of the new installations, we are getting the following error -

current nodejs version is v6.5.0 warning: jwt_public_key download from https://changedhost-changedenv.apigee.net/jwt/signing returned { Error: self signed certificate at Error (native) at TLSSocket.<anonymous> (_tls_wrap.js:1060:38) at emitNone (events.js:86:13) at TLSSocket.emit (events.js:185:7) at TLSSocket._finishInit (_tls_wrap.js:584:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38) code: 'DEPTH_ZERO_SELF_SIGNED_CERT' } warning: error downloading config, please check bootstrap configuration { Error: self signed certificate at Error (native) at TLSSocket.<anonymous> (_tls_wrap.js:1060:38) at emitNone (events.js:86:13) at TLSSocket.emit (events.js:185:7) at TLSSocket._finishInit (_tls_wrap.js:584:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38) code: 'DEPTH_ZERO_SELF_SIGNED_CERT' } failed to retieve config from gateway. continuing, will try cached copy.. { Error: self signed certificate at Error (native) at TLSSocket.<anonymous> (_tls_wrap.js:1060:38) at emitNone (events.js:86:13) at TLSSocket.emit (events.js:185:7) at TLSSocket._finishInit (_tls_wrap.js:584:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38) code: 'DEPTH_ZERO_SELF_SIGNED_CERT' }

Can someone guide what could be the reason for this issue.

Thanks,

Jaskaran

0 14 8,451
14 REPLIES 14