Skip to content

Launcher/Setup crashes on startup due to expired SSL certificate (NotTimeValid) #20

Description

@Han85PL

Describe the bug
The AllInOneLauncherSetup.exe (and the launcher itself) crashes a few seconds after launch. After investigating the Event Viewer, the crash is caused by an unhandled HttpRequestException. The application attempts to connect to the BFME Ladder API, but the SSL handshake fails because the remote certificate is invalid (NotTimeValid).

To Reproduce

Run AllInOneLauncherSetup.exe (as of March 27, 2026).

The window appears for 2-3 seconds and disappears.

Check Event Viewer for the .NET Runtime error.

Technical Analysis
The application fails when calling:
GET https://bfmeladder.com/api/workshop/download?guid=original-BFME1

Exception Details:

Plaintext
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: NotTimeValid
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
Note: Accessing the URL via a web browser also triggers a "Your connection is not private" warning, confirming the server certificate has expired or is invalid for the current date.

Desktop Environment:

OS: Windows 11 (build 26100)

CPU: AMD Ryzen 9 9800X3D

GPU: NVIDIA RTX 5070 Ti

.NET Runtime: 8.0.10 / 6.0.36

WebView2: Installed and updated.

Additional Context
Attempts to bypass the error by changing the system date or disabling CRL checks in Internet Options were unsuccessful. It seems the application requires a valid, up-to-date certificate on the server side to initialize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions