Heroku: UNABLE_TO_GET_ISSUER_CERT_LOCALLY: unable to get local issuer certificate
I am facing issue in creating an new heroku app on cli
C:\sami\foodOrder\foodOrder>heroku create Creating app... ! ! UNABLE_TO_GET_ISSUER_CERT_LOCALLY: unable to get local issuer certificate
This is even happening on a clone of existing app
- push heroku to github
- Heroku CLI uses different email address from what I log in with
- What is the URL to a heroku git repository?
- heroku fork + heroku git:clone = New app works but empty repository
- How to solve the “Push rejected, no Cedar-supported app detected” on Heroku when pushing a Django project?
- Errors trying to push to Heroku
3 Solutions collect form web for “Heroku: UNABLE_TO_GET_ISSUER_CERT_LOCALLY: unable to get local issuer certificate”
As a temporary workaround you can disable SSL verification by setting an environment variable:
Yesterday Heroku made the new toolbelt product mandatory by introducing various intentional but obscure errors when using the old libraries, and I ran into this issue after upgrading. I expect others will stumble upon this too, so I’m adding my solution.
I had set the
SSL_CERT_FILE environment variable to a specific certs file to fix this issue with local SSL certs in Ruby on Windows, and while that worked with the old Heroku library, the new one requires additional trusts (see
The solution for me was to remove the
SSL_CERT_FILE environment variable and instead set it in my specific environments using my existing Figaro config file. After that,
heroku ran without issue.
Add the following to your .bowerrc file…