'Sinon certificate expired when building project with bower

I am building my project that admittedly uses quite an old version of Sinon, and when building I am receiving the error that the certificate has expired:

[ERROR] bower sinon-2.3.5#*   CERT_HAS_EXPIRED certificate has expired

The install script however shows the bower command for this, including the link where it is trying to access it:

[INFO] bower sinon-2.3.5#*         not-cached http://sinonjs.org/releases/sinon-2.3.5.js#*

and navigating to the URL does actually let us in to the script: enter image description here

Is there anything I can do in order to build the project?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source