If you're doing development with bower packages in Visual Studio projects behind a corporate firewall, you may have run into issues with self-signed certificates. The quickest and easiest way to get around this (though definitely not safest or most recommended) is to simply globally ignore self-signed certificates.
On your Developer Command Prompt (assuming you've got 'git' in your PATH):
git config --global http.sslverify false
Showing posts with label bower. Show all posts
Showing posts with label bower. Show all posts
Thursday, August 31, 2017
Fixing Bower behind a corporate firewall
Our company uses software to intercept and inspect encrypted packets (like many other corporate entities). As a result, there are self-signed certificates added to the packets. This creates a problem with many package managers like npm and bower.
If you're looking to get started quickly with bower in your .NET application in Visual Studio, simply put a .bowerrc file with the following contents in the root of your project (next to, say, your web.config):
If you're looking to get started quickly with bower in your .NET application in Visual Studio, simply put a .bowerrc file with the following contents in the root of your project (next to, say, your web.config):
{ "strict-ssl": false }
Subscribe to:
Posts (Atom)