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

[BUG] Errors in the certificate chain #2834

Open
4 tasks done
Kappa63 opened this issue Jan 8, 2025 · 4 comments
Open
4 tasks done

[BUG] Errors in the certificate chain #2834

Kappa63 opened this issue Jan 8, 2025 · 4 comments
Labels
a:question General question

Comments

@Kappa63
Copy link

Kappa63 commented Jan 8, 2025

Prerequisites

  • I made sure I am running the latest development build
  • I tried to look for similar issues before opening a new one
  • I have set debugmessages=true in config to diagnose my issue
  • I have redacted session tokens and passwords before attaching screenshots

Minecraft Version

1.x.x

Console Client Version

20241227-281-linux-x64

Expected Behavior

Login into microsoft

Actual Behavior

Certificate chain breaking in both browser and mcc login and not logging in.

Steps to Reproduce the bug

try log in?

Attach screenshot here (If applicable)

No response

Anythings that could help diagnosing the bug

Microsoft authenticate failed: The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown, OfflineRevocation
   at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)    at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)    at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)    at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)    at MinecraftClient.Protocol.ProxiedWebRequest.Send(String method, String body) in /home/runner/work/Minecraft-Console-Client/Minecraft-Console-Client/MinecraftClient/Protocol/ProxiedWebRequest.cs:line 166    at MinecraftClient.Protocol.ProxiedWebRequest.Get() in /home/runner/work/Minecraft-Console-Client/Minecraft-Console-Client/MinecraftClient/Protocol/ProxiedWebRequest.cs:line 110    at MinecraftClient.Protocol.XboxLive.PreAuth() in /home/runner/work/Minecraft-Console-Client/Minecraft-Console-Client/MinecraftClient/Protocol/MicrosoftAuthentication.cs:line 164    at MinecraftClient.Protocol.ProtocolHandler.MicrosoftMCCLogin(String email, String password, SessionToken& session) in /home/runner/work/Minecraft-Console-Client/Minecraft-Console-Client/MinecraftClient/Protocol/ProtocolHandler.cs:line 731

Device

Laptop

Operating System

Linux

Server Address (If applicable)

No response

@Kappa63 Kappa63 added the a:bug Crash or feature not working as expected label Jan 8, 2025
@Kappa63
Copy link
Author

Kappa63 commented Jan 8, 2025

I tried downloading the source and changing the SslProtocols.Tls12 to Tls13 and others but that failed.

I also found #2411 which seemed similar. However provided solution seemed to fail with me. I am on fedora and I did run the cert update and the firefox trust certificate on the website provided. However the error remained.

@breadbyte
Copy link
Member

This is a problem with your system's certificate store. You won't be able to access any website that uses HTTPS, basically.

Please make sure that your system time is set correctly and update your system's certificate store using the command
update-ca-trust extract for fedora, however please make sure that the certificate manager is installed (dnf install ca-certificates)

@breadbyte breadbyte added a:question General question and removed a:bug Crash or feature not working as expected labels Jan 8, 2025
@Kappa63
Copy link
Author

Kappa63 commented Jan 8, 2025

I am not sure what could be wrong with my system time as everything is set to automatic.

However as mentioned in my previous comment, I did attempt to update certificates and did run the commands mentioned.

Could it be an issue with the browser itself?

@breadbyte
Copy link
Member

It may help if you try setting the login method in the config to browser instead of mcc, and try logging in that way.

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

No branches or pull requests

2 participants