-
Notifications
You must be signed in to change notification settings - Fork 70
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
Added option for overload SSL rules #117
Conversation
Possibly fix problems with cloudflare firewall
To enable, pass the parameter: -Dauthlibinjector.trustUnknownSSLCertificates=true
Add parameter description: Dauthlibinjector.trustUnknownSSLCertificates
This reverts commit a5ad99a.
It is noteworthy that the problem is observed exclusively on the client (player) side. The server starts and runs without changing the certificate validation rules. |
Allows you to use an untrusted certificate only in case of an error.
Added the ability to change rules only if an error occurs. Thought about it after my post above. I don't know why the client cannot connect to the site, unlike the game server, which connects smoothly. |
I don't think this problem has anything to do with authlib-injector. Instead, it signals that your authentication server is misconfigured, or the client Java installation is outdated or broken. So, this PR will not be merged. If you encounter a TLS certificate problem:
|
目前 Mojang 官方所使用的 Java 是 8u51,会触发这一问题。 |
A similar problem
开启了SSL然后无法打开 - #111
Description of changes
I had problems using the API for my server. Java refused to accept Let's Encrypt certificates. To do this, I added an option to override certificate validation rules.
To enable the option in the launch parameters, you need to add:
or
The user will receive a warning that this method is not reliable and not recommended, however, this will fix the problem with the inability to send requests to the server.