0

I've followed the getting started guide to deploy a nodejs application to heroku:

I reached to this stage in the tutorial

When I try to write the command:

heroku create

It gives me this error:

UNABLE_TO_GET_ISSUER_CERT_LOCALLY: unable to get local issuer certificate

What can be the problem?

Kshitij Saraogi
  • 5,611
  • 7
  • 35
  • 66
LoanFlow
  • 51
  • 1
  • 7

4 Answers4

0

Try to do this:

Edit Git config text file (with my favorite line-ending neutral app like Notepad++) located at:

C:\Program Files (x86)\Git\etc\gitconfig

In the [http] block, add an option to disable sslVerify. It looked like this when I was done:

[http]
sslVerify = false
sslCAinfo = /bin/curl-ca-bundle.crt

The answer is related to this

Community
  • 1
  • 1
JSEvgeny
  • 1,898
  • 19
  • 31
0

The problem was that I have a web filter on my internet, A content filter and it was blocking the command

heroku create  

from going through.

LoanFlow
  • 51
  • 1
  • 7
0

Run the following line:

npm config set strict-ssl false

Amir
  • 115
  • 1
  • 6
0

For Windows 10:

Go to System variable (Windows logo key > type: "environment variables" > click Environment Variables button)

Check/Set Variable SSL_CERT_DIR=YourCetrFolder

enter image description here

Certificate folder Example:

enter image description here

Refael
  • 6,055
  • 9
  • 32
  • 54