Closed Shark-vil closed 3 years ago
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.
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:
A similar problem
开启了SSL然后无法打开 - https://github.com/yushijinhun/authlib-injector/issues/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.