A anyone facing an error DEPTH_ZERO_SELF_SIGNED_CERT?

Hello,

When I run ./edgemicro configure or the underlying edge micro genkeys (org, user & pw obviously changed), I am getting this error.

./edgemicro genkeys -o my-org -e dev -u my.email@mycompany.com -p mypassword { [Error: self signed certificate] code: 'DEPTH_ZERO_SELF_SIGNED_CERT' }

What could be the reason for that message? Anyone ever faced it?

I am location behind a password-less corporate proxy & the agent is started with edge_config.proxy set.

TIA for your help.

--FiX

0 4 890
4 REPLIES 4

Answering/Commenting my own question: when _NOT_ run from behind my corporate proxy, the command succeeds. It seems that the "edgemicro" command is returning misleading error message when run from behind a proxy.

How to force an explicit proxy to this command?

Dear @Francois-Xavier KOWALSKI ,

Welcome to Apigee community. Let me loop in our edge micro expert @Prabhat Jha

Former Community Member
Not applicable

That error usually comes when using a self signed certificate. It appears your proxy server is using a self signed certificate.

@Francois-Xavier KOWALSKI So looks like you have a solution/workaround. Would you mind sharing it here?