Unable to get local issuer certificate error - while executing "ionic start myApp tabs" command

Hi All,

I’m getting the “Unable to get local issuer certificate error” while issuing the below command,

ionic start myApp tabs

I have tried executing the below commands, but no luck,

npm config set strict-ssl false
git config http.sslVerify “false”

Can someone help!. I have posted this in StackOverflow and other forums, but no there no response from the members, however many people have commented that they are also facing the same error.

Can some shed some light here?..


What is messing with your SSL certificates?

Thanks for the reply Sujan12!..

I’m not aware of that… Awaiting for someone to shed some light

Run ionic start myApp tabs --verbose and ionic info please and post the complete output.

Thanks for replying again Sujan12! Here are the outputs of what you’ve asked.

Output of => ionic start myApp tabs


Output of => ionic info


Looking forward to your reply.


Sorry, no idea. Something is messing with your connection and not handling SSL correctly.

1 Like

No Problem Sujan12… Thanks for your time!. :slight_smile:

I will update the post if I find something useful further on this.

1 Like

Your Firewall does not allow this. This happens to me in my office network. Go to a guest network and try.

Thanks for the reply thesourav!. Although I receive the below errror,

[INFO] Fetching app base
? Downloading - failed!

When I try https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz directly in my browser I’m able to hit the site and download the code.

So, If there is a firewall blockage, how am I able to download the code?. Any thoughts?


Probably on the browser level your proxy, firewall, trojan, whatever is messing with your connection and SSL certificates works, but not on command line level.

Try another network connection. Open a hotspot with your mobile phone, connect to that, and try again.

Same issue for me since I updated ionic from 2.x to 3.x …

[INFO] Fetching app base
× Downloading - failed!
Error: unable to get local issuer certificate

Even with nodeJS newers version (6.11, 8.4) or with @ionic/cli-plugin-proxy installed and
IONIC_HTTP_PROXY setted. my conf :

cli packages:

    @ionic/cli-plugin-proxy : 1.4.3
    @ionic/cli-utils        : 1.8.1
    ionic (Ionic CLI)       : 3.8.1


    Node : v8.4.0
    npm  : 5.3.0
    OS   : Windows 7

Hi Sachin,

Do your issue got resolved. I am facing the same issue. Can you please ;et me know if it got resolved and ow you made it.

Many Thanks,

set an environment variable NODE_TLS_REJECT_UNAUTHORIZED with value 0 in your windows/linux system.


this is the working answer for me so far. thank you. :grinning:

This works for me