I'm trying to make the login in heroku but I get this:
$ heroku login
Enter your Heroku credentials.
Email: [email protected]
Password (typing will be hidden):
▸ Post https://api.heroku.com/login: x509: certificate signed by unknown authority
I already try to generate a ssl certificate but it cannot solve the problem. I don't know if it is problem or not of the ssl.
Can anyone help me with this?
Thank's in advance.
Running this command worked for me:
HEROKU_SSL_VERIFY=disable heroku login
I was having the same error and a simple update of heroku-cli on my machine fixed it! I'm running macOS Sierra 10.12.2 and originally installed heroku with homebrew... But this command should work with any operating system, assuming that you're using heroku-cli (heroku command line interface)
So first just run:
$ heroku update
You should get the output:
heroku-cli: Updating plugins... done
heroku-cli: Updating... done.
Then try and login again:
$ heroku login
Hope this helps someone!
This command will tell you more, type in the terminal:
curl -I https://api.heroku.com/login -vvv
One possible reason is DNS poison.
unable to get local issuer certificate shows you missing the CA, api.heroku.com was signed by DigiCert_High_Assurance_EV_Root_CA.crt, please refer to this post to check your CA, especially that mozilla/DigiCert_High_Assurance_EV_Root_CA.crt
is NOT disabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With