I am trying to configure edgemciro on windows 2012 r2 and getting below error.
any help is appreciated.
current nodejs version is v8.14.0 current edgemicro version is 2.5.29 file doesn't exist, setting up Give me a minute or two... this can take a while... App edgemicro-auth deployed. checking org for existing KVM error checking for cert. Installing new cert. creating KVM adding private_key adding public_key { Error: self signed certificate in certificate chain at TLSSocket.<anonymous> (_tls_wrap.js:1116:38) at emitNone (events.js:106:13) at TLSSocket.emit (events.js:208:7) at TLSSocket._finishInit (_tls_wrap.js:643:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:473:38) code: 'SELF_SIGNED_CERT _IN_CHAIN' }
It appears there is a corporate firewall that is terminating TLS to the Apigee Management APIs and this firewall uses a custom CA.
Use the environment variable
set NODE_EXTRA_CA_CERTS=file
to include the CA cert (PEM format) and then re-run the command.
While this option should (almost) never be used, you could turn off TLS validation with
set NODE_TLS_REJECT_UNAUTHORIZED=0
Thanks. so I was able to pass ca file using the NODE_EXTRA_CA_CERTS but found 1 more issue after that. https://edgemicroservices.apigee.net is blocked by our corporate firewall policy due to which i am getting below error
error uploading credentials 307 undefined C:\Users\xxxx\AppData\Roaming\npm\node_modules\edgemicro\cli\lib\configure .js:162 agentConfig['edge_config'].bootstrap = results[1].bootstrap; ^ TypeError: Cannot read property 'bootstrap' of undefined at C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\cli\lib\co nfigure.js:162:57 at C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modul es\async\lib\async.js:726:13 at C:\Users\xxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modul es\async\lib\async.js:52:16 at C:\Users\xxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modul es\async\lib\async.js:269:32 at C:\Users\xxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modul es\async\lib\async.js:44:16 at C:\Users\xxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modul es\async\lib\async.js:723:17 at C:\Users\xxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modul es\async\lib\async.js:167:37 at Request._callback (C:\Users\xxxx\AppData\Roaming\npm\node_modules\e dgemicro\cli\lib\cert-lib.js:274:17) at Request.self.callback (C:\Users\xxxx\AppData\Roaming\npm\node_modul es\edgemicro\node_modules\request\request.js:185:22) at emitTwo (events.js:126:13) at Request.emit (events.js:214:7) at Request.<anonymous> (C:\Users\xxxx\AppData\Roaming\npm\node_modules \edgemicro\node_modules\request\request.js:1161:10) at emitOne (events.js:116:13) at Request.emit (events.js:211:7) at IncomingMessage.<anonymous> (C:\Users\xxxxx\AppData\Roaming\npm\node _modules\edgemicro\node_modules\request\request.js:1083:12) at Object.onceWrapper (events.js:313:30)
I will try again once the above url is allowed.
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |