Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bower install CERT_UNTRUSTED Error

I got the CERT_UNTRUSTED when I tried to run bower install command to install components.

For example, I got this error when I ran the following:

bower install bootstrap-sass-official --save

The output was:

bower                            error Request to https://bower.herokuapp.com/packages/bootstrap-sass-official failed: CERT_UNTRUSTED

Note: This is not a package specific error. This happens when you try to install any package, not just with bootstrap-sass-official.

like image 774
Vijey Avatar asked Oct 15 '14 06:10

Vijey


1 Answers

you can try setting this in .bowerrc:

{
"directory": "bower_components",
"registry": "http://bower.herokuapp.com",
"strict-ssl": false
}
like image 158
hypery2k Avatar answered Oct 13 '22 22:10

hypery2k