Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heroku login fails with Error: unable to verify the first certificate #1297

Open
abhiverm100079 opened this issue Aug 19, 2019 · 3 comments
Open

Comments

@abhiverm100079
Copy link

This project is for the Heroku CLI only. Use https://help.heroku.com for anything that is not specific to the CLI itself.

Do you want to request a feature or report a bug?

If bug, first try running heroku update and setting DEBUG=* to see extra debug information.

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Please mention your heroku and OS version. Please state if you are behind an HTTP proxy or company firewall as well.

@abhiverm100079
Copy link
Author

I have windows 10, 64 bit. Downloaded heroku CLI and started with heroku login but get the following error Error: unable to verify the first certificate. I can see this issue was reported earlier as well but no solution has been provided. I am behind the proxy and set HTTP_PROXY and HTTPS_PROXY environment variables but still get the same issue.

Any help on this topic would be appreciated.

Regards
Abhishek

@RasPhilCo
Copy link
Contributor

You likely have a self signed cert so you'll need to provide Node the CA cert you signed it with via https://nodejs.org/api/cli.html#cli_node_extra_ca_certs_file .

@felipevaleriosiqueira
Copy link

I fix this setting my company proxy (on Windows):
set http_proxy=http://proxy.company:9090
set https_proxy=http://proxy.company:9090
heroku login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants