bower install self_signed_cert_in_chain

后端 未结 5 494
醉话见心
醉话见心 2021-02-01 15:18

I am building a angular app in windows, using git bash, so far I have been able to scaffold using yo, no issues, however when I am trying to issue the following command. Can som

5条回答
  •  不知归路
    2021-02-01 15:38

    If you have access to the self-signed CA certificate that is part of your chain, you can add it to your .bowerrc file like so:

    {
      ...
      "ca": "/path/to/cacert.pem",
      ...
    }
    

    rather than disabling SSL, as other answers have suggested.

    Disabling SSL will get you past this issue. However, doing so introduces the risk of creating some greater issues for yourself down the road.

    documentation from Bower

提交回复
热议问题