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
  • 6,821
  • 8
  • 41
  • 71
LoanFlow
  • 51
  • 1
  • 8

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
  • 2,550
  • 1
  • 24
  • 38
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
  • 8
0

Run the following line:

npm config set strict-ssl false

Amir
  • 125
  • 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,753
  • 9
  • 35
  • 54