[Solved] Meteor deploy is failing (certificate has expired)

meteor deploy is throwing the following error.

Talking to Galaxy servers at https://us-east-1.galaxy-deploy.meteor.com
Error deploying application: Connection error (certificate has expired)

1 Like

Hi, if you are in a Meteor version before 1.9 it runs old Node.js.

Node.js before 10 (and Meteor before 1.9) doesn’t include let’s encrypt’s newest root certificate: DST Root CA X3 Expiration (September 2021) - Let's Encrypt

A workaround, for now, is to run all the meteor commands with the following environment variable NODE_TLS_REJECT_UNAUTHORIZED, for example in the deploy command:

NODE_TLS_REJECT_UNAUTHORIZED=0 meteor deploy .....

We are investigating if we can find a better workaround for old Meteor versions.

We are running newer Meteor 1.11, the https certificate is validating correctly but the wss is not.

We rolled back the time on one of our systems and it became valid again.

FYI

Thank you, I just found this on a different forum post as well. This did solve my issue at the moment. Sounds like I’ll need to do the work to get up to the latest Meteor version

Are you running Meteor 1.11 in which OS? Old distros, specially Ubuntu < 16 will show issues too.

its running on Galaxy

Any one know which SSL service is still offering certificates with DST Root CA X3.

Thanks lets encrypt for breaking the internet.