You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CERT_HAS_EXPIRED certificate has expired is thrown when I'm trying to update sinon package #2608
Go to 'cmd'
paste 'bower update sinon '
Run
See error CERT_HAS_EXPIRED
Expected behavior
Sinon update should be made without any error Describe the results you received:
Describe the results you expected:
Sinon update should be made without any error
Reacted by Mariusz Łączak, Martijn Clarenbeek, jonasreymen, Adam Płaczek, Vijay Kumar, Christiaan Scheermeijer, Sanjay Divgi, Soumok Dutta, Milan Patel, Kishor Pardhi and 10 more
@chhn03 I see that the Bower certificate was renewed on Monday, 24 April 2023 at 03:43:54. bower install works on my machine, but Bitbucket pipelines (dockerized) is failing with the same CERT_HAS_EXPIRED error. Still trying to figure out why the certificate isn't renewed automatically there...
Reacted by Qaeed Ramiwala, Diego Arce, stolbunov-da and Hassin
When I added SSL disabling configuration "strict-ssl": false to .bowerrc file, everything fetched fine
idk, something is wrong with the certificate 🙄
Edited:
(I don't recommend this solution as production solution, disabling SSL can be dangerous, I did this just to check if the problem is with SSL)
Reacted by Denys Teslenko, Ajay Arjunan, Łukasz Czerepuk, Edwin Ramírez, SLJ, Aleš Spurný, Simon Weisser, Rishabh Rajgarhia, arjunmuralikrishnan1999, Ulrika Bajele and 30 more
Reacted by SLJ, Joris Bertomeu, Rohini Aru, Ezequiel Arbeletche, Victor Didenko, EZEQUIEL MATIAS QUIROGA, ALEXIS LE GOFF, Carlos Valencia Rivero and Marcos Rezende
look mate, not bashing, some of us guys might be untouched with reality, and stuck in time, we all or should have taken point to migrate. yes we heard it all, let's just help the community to answer their needs for help. and yes to need to update. yes to the need to migrate.
look mate, not bashing, some of us guys might be untouched with reality, and stuck in time, we all or should have taken point to migrate. yes we heard it all, let's just help the community to answer their needs for help. and yes to need to update. yes to the need to migrate.
Yes, but not every system can be updated in a easy way, some companies strugle with daily problems and need to solv them to survive, int the ideal world the migration is easy and fast, but in reality the variables are greater.
Reacted by nandita121189, hisem, Sergey Nikitin and Jommy Barban
Activity
bountyhunt-bot commentedon Oct 19, 2021
A $20 bounty has been put on this issue over at bountyhunt.io.
Top contributors:
What is this?
bountyhunt.io is an open source service that allows people to put bounties on issues, and allows bountyhunters to claim those bounties.
In a way, we're helping people get paid for the open source work they do, and for people to live off of open source development.
Additionally, we help bring attention to the issues that matter most in the open source community.
This comment will only appear once ever, and will be modified if new bounties arrive, to reduce spam.
SergeyLukovnikov commentedon Dec 15, 2021
what node version?
i think you should update node
sheerun commentedon Mar 14, 2022
Please uninstall sinon and install it again with new repository, like so:
bower install --save-dev sinonjs/sinonchhn03 commentedon Apr 24, 2023
Hi,
I am getting "CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/angular-aria failed: certificate has expired". while doing bower install. Please suggest what could be the reason of it.
ChristiaanScheermeijer commentedon Apr 24, 2023
@chhn03 I see that the Bower certificate was renewed on
Monday, 24 April 2023 at 03:43:54.bower installworks on my machine, but Bitbucket pipelines (dockerized) is failing with the sameCERT_HAS_EXPIREDerror. Still trying to figure out why the certificate isn't renewed automatically there...mchrapek commentedon Apr 24, 2023
@ChristiaanScheermeijer could you check if it still works on your machine after clearing the cache
bower cache clean?mchrapek commentedon Apr 24, 2023
Similar issue is open in the
bower/registryrepository:bower/registry#304
ChristiaanScheermeijer commentedon Apr 24, 2023
Yes, it still works after that:
mchrapek commentedon Apr 24, 2023
@ChristiaanScheermeijer Did you delete the
bower_componentsfolder before executing these commands? 🤔ChristiaanScheermeijer commentedon Apr 24, 2023
Yes, well, I renamed the folder because I was scared of losing the files 😅
mchrapek commentedon Apr 24, 2023
@ChristiaanScheermeijer okay, strange, last idea, could you show what settings you have in the
.bowerrcfile? 🤔ChristiaanScheermeijer commentedon Apr 24, 2023
Sure, here it is:
{ "directory": "app/bower_components" }mchrapek commentedon Apr 24, 2023
When I added SSL disabling configuration
"strict-ssl": falseto .bowerrc file, everything fetched fineidk, something is wrong with the certificate 🙄
Edited:
(I don't recommend this solution as production solution, disabling SSL can be dangerous, I did this just to check if the problem is with SSL)
ajayarjunan commentedon Apr 24, 2023
Thanks @mchrapek , that worked for me!
24 remaining items
Use alt bower registry
fanguitocoder commentedon May 15, 2023
Maintaining old systems, we're on our way to getting rid of bower already.
Use alt bower registry
Use alt bower registry
caiocesarstx commentedon May 18, 2023
not everyone has a big team and time to update :)
cabexius commentedon May 18, 2023
look mate, not bashing, some of us guys might be untouched with reality, and stuck in time, we all or should have taken point to migrate. yes we heard it all, let's just help the community to answer their needs for help. and yes to need to update. yes to the need to migrate.
caiocesarstx commentedon May 18, 2023
Yes, but not every system can be updated in a easy way, some companies strugle with daily problems and need to solv them to survive, int the ideal world the migration is easy and fast, but in reality the variables are greater.
Bower: disable `strict-ssl`
Bower: disable `strict-ssl` (#10370)
Use alt bower registry
Use alt bower registry
Use alt bower registry
Use alt bower registry
route around old node version bower install bug
emirmamashov commentedon Jun 14, 2024
I get also this problem, it's fixing when I update node to 11 version