Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certification is expired, no easy error on login #5

Open
0xtobit opened this issue Oct 25, 2021 · 2 comments
Open

Certification is expired, no easy error on login #5

0xtobit opened this issue Oct 25, 2021 · 2 comments

Comments

@0xtobit
Copy link

0xtobit commented Oct 25, 2021

When I try to login with the latest version of the MacOS app login doesn't work. I click login and no feedback is provided.

I went in to debug and uncommented lines 81-83 in index.js to open the dev tools and saw Uncaught Error: certificate has expired.

If I add rejectUnauthorized: false, as a parameter to the https.request call on line 23 of api-client.js I am able to login.

The better fix would be to update the certificate though, maybe with lets encrypt?

@dustMason
Copy link
Owner

Thank you for diving in to debug this! The certificate is indeed already provisioned with Let's Encrypt and is currently up to date. I expect what's actually happening here is that the version of electron this is built on does not come with the newest Let's Encrypt CA files, per this change that went into effect last month https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

The proper fix would be to update the version of electron and update.

@landonepps
Copy link

landonepps commented Jun 12, 2023

It should be fixed in this updated (unofficial) build:
https://github.com/landonepps/op1.fun.app/releases/tag/v2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants