While building a docker container, I came across this error
Step 6/17 : RUN bower install --allow-root ---> Running in 20f9229dcd1e bower angular-touch#~1.5.0 CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/angular-touch failed: certificate has expired
Building this image was working fine for about 2 years, then suddenly refused to cooperate. How can I refresh a missing certificate?
In my case i just add two lines into .bowerrc file
This is workaround, and it's bad practice. But using bower and outdated plugins is also bad practice