Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SELF_SIGNED_CERT_IN_CHAIN error when installing bower components

Error while installing bower components, the following error is thrown

Request to https://bower.herokuapp.com/packages/ember failed: SELF_SIGNED_CERT_IN_CHAIN. 
like image 606
Vinoth Kumar Avatar asked Mar 26 '15 07:03

Vinoth Kumar


1 Answers

You may get this error if your are behind a proxy or secure connection

Goto project root folder and open .bowerrc file and add the line

"strict-ssl": false

Example .bowerrc file

{

    "directory": "bower_components",
    "analytics": false,
    "strict-ssl": false
} 

and from the project root folder do a bower install as follows

bower install
like image 73
Vinoth Kumar Avatar answered Oct 04 '22 17:10

Vinoth Kumar