[Solved] Error:certificate has expired

Hey there,

I’ve been strugling since yesterday with this, this is the first time using meteor and its an Open-source project that I’ve started to contribute to as well.

While downloading tracker@1.1.3…:
error: certificate has expired

While downloading underscore@1.0.10…:
error: certificate has expired

While downloading url@1.2.0…:
error: certificate has expired

While downloading webapp@1.5.0…:
error: certificate has expired
(and more like this)

I tried setting the “set NODE_TLS_REJECT_UNAUTHORIZED=‘0’” env var with powershell and admin privileges separatelly and with VScode running as admin. No luck on that.
When I try running it using the command line like:
set NODE_TLS_REJECT_UNAUTHORIZED=‘0’ meteor run --settings settings.json

it just exits.

What can I do about it? I’m new to Meteor so I have no much knowledge on it’s configuration, I’d be very thankful if you can explain how to implement your solutions.

Much love, thanks.

Fixed by setting manually the Environment Variables of windows

1 Like