About the hero, how to disable SSL verification, the error message "WARNING: Failed to verify SSL certificate for api.heroku.com"

everything, first of all, I already went to Google on this issue and took a ticket on the official website, but still solve this problem by looking at the error message, please

~$ heroku keys:add Uploading ssh public key /home/my_dir_name/.ssh/id_rsa.pub Enter your Heroku credentials. Email: example@email.com Password: WARNING: Unable to verify SSL certificate for api.heroku.com To disable SSL verification, run with HEROKU_SSL_VERIFY=disable 

I add "HEROKU_SSL_VERIFY = disable" to ~ / .bashrc, but it does not work. My version of the hero is 2.3.6, Thank you very much.

+4
source share
1 answer

Try to use the old hero to the hero.

First remove the new stone:

  gem uninstall heroku 

Then install an old stone that seems to work:

 gem install heroku -v "<2.0.0" 
+4
source

All Articles