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

When using a self-signed certificate to locally reverse proxy GitHub, an error may occur. #558

Open
yblpoi opened this issue Aug 20, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@yblpoi
Copy link

yblpoi commented Aug 20, 2023

Problem description

Due to the stringent regulatory measures on the Chinese internet, it's common to access GitHub locally using a self-signed CA certificate for reverse proxy. This approach allows us to access GitHub through a browser successfully while also introducing certain issues. When in a locally reversed proxy state, the ExpressLRS-Configurator encounters the following error:
"request to https://api.github.com/repos/ExpressLRS/ExpressLRS/releases?per_page=100 failed, reason: unable to verify the first certificate."

Problem Screenshot

11c51583e154349fb31e13282b208d7

Suggestion

Generally, when using a self-signed certificate for local reverse proxy, it's necessary to add the generated certificate to the system's trusted certificate list. This step is required for both Linux and Windows systems.
Therefore, it's recommended that the ExpressLRS-Configurator utilize the system's certificate trust list, or alternatively, provide an option for users to choose between using the built-in SSL certificate mode or the system's trusted certificate list.

Digression

Due to my limited English proficiency, a lot of the content has been completed with the assistance of translation software. I hope you can bear with me and understand.
Users from mainland China really need to address this issue. This way, it can greatly ensure a higher success rate for compilation.
We hope that you can resolve the issues we've encountered. We sincerely wish the project continued success and improvement.

@yblpoi yblpoi added the bug Something isn't working label Aug 20, 2023
@jurgelenas
Copy link
Member

You could add --ignore-certificate-errors switch to app flags.

What OS are you using? Windows?

@yblpoi
Copy link
Author

yblpoi commented Nov 8, 2023

windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants