Reputation: 71
While downloading [email protected]...:
error: certificate has expired
While downloading [email protected]...:
error: certificate has expired
While downloading alanning:[email protected]...:
error: certificate has expired
While downloading aldeed:[email protected]...:
error: certificate has expired
While downloading aldeed:[email protected]...:
error: certificate has expired
While downloading aldeed:[email protected]...:
Even tried set NODE_TLS_REJECT_UNAUTHORIZED=0 and then run meteor. But still getting error.
Upvotes: 6
Views: 3454
Reputation: 874
I got the same error
export NODE_TLS_REJECT_UNAUTHORIZED=0
tried this and it worked
Upvotes: 5
Reputation: 21384
https://docs.meteor.com/expired-certificate.html:
If you are getting errors like Connection error (certificate has expired) when running Meteor commands it means that you are running a version of Meteor older than v1.9.
A workaround, for now, is to run all the meteor commands with the following environment variable NODE_TLS_REJECT_UNAUTHORIZED, for example ...
I suspect you didn't set the env var correctly. Either export
it or set it right on the command line:
NODE_TLS_REJECT_UNAUTHORIZED=0 meteor
Upvotes: 12