apigeetool-node icon indicating copy to clipboard operation
apigeetool-node copied to clipboard

Error: unable to verify the first certificate

Open tmarrs opened this issue 10 years ago • 4 comments

This isn't a defect in apigeetool, but I'm unable to use it behind my corporate firewall. As long as I'm outside the firewall, apigeetool works properly.

I've tried the following, and no joy:

  • npm config set registry="http://registry.npmjs.org/"
  • npm config set strict-ssl false

Do you have any ideas for helping node get through/past the firewall?

Thanks.

tmarrs avatar Dec 31 '15 17:12 tmarrs

I'm wondering if the solution for https://github.com/apigee/apigeetool-node/issues/6 fixes this too.

tmarrs avatar Dec 31 '15 18:12 tmarrs

What exactly goes wrong? And what is exactly the case - are you trying to use apigeetool behind a firewall to connect to the cloud version of Apigee?

ivan-novakov avatar Jan 06 '16 09:01 ivan-novakov

What exactly goes wrong? I get the following error message:

Error: unable to verify the first certificate

I'm using apigeetool from behind a firewall so that I can deploy my API. I don't know anything about the cloud version of Apigee. All I known is that apigeetool works OK once I get out from behind the firewall.

The solution to https://github.com/apigee/apigeetool-node/issues/6 doesn't fix the problem.

I''ve also tried to use the -k option to turn off ssl checking, and it still doesn't work - I get other errors.

So, the bottom line is that I need to use apigeetool outside my corporate firewall to make it work.

tmarrs avatar Jan 06 '16 13:01 tmarrs

This is similar to the issue I'm having. Apigeetool does not seem to respect the ignore certificate check. In my case the corporate proxy will return a different certificate to what apigeetool is expecting. Setting

npm config set strict-ssl false

should resolve the issue however in apigeetool's case this does not seem to be happening.

stewartmatheson avatar Jul 17 '16 22:07 stewartmatheson