Skip to content

launcher fails to read certificate from server #346

@NextBlaubeere

Description

@NextBlaubeere

Hello and Happy New Year! :-)

I am trying to get ageLANServer running for an upcoming lanparty and i got stuck on the way unfortunately. I am currently testing everything on my local windows machine, so everything ongoing at the moment is on the same OS.

Hosting the server seems fine to me, but every time when the launcher tries to fetch the certificate it fails.

Enter the number of the 'server' (1-1): 1
Adding hosts to hosts file, authorize 'config-admin-agent' if needed...
Failed to read certificate from aoe-api.reliclink.com.
Killing 'agent' if needed...
Cleaning up...
Program finished with errors...

While on the server it seems to be fetched fine by the client.

[age2] [general] 192.168.1.100 - 00:05:16 - HEAD /test - 200 40
[age2] [general] 192.168.1.100 - 00:05:16 - HEAD /test - 200 40
[age2] [general] 192.168.1.100 - 00:05:16 - HEAD /test - 200 40
[age2] [general] 192.168.1.100 - 00:05:16 - GET /test - 200 40
[age2] [general] 192.168.1.100 - 00:05:18 - GET /cacert.pem - 200 0

I don't know if this is related, but also when I want to use ExecutableArgs = ['--overrideHosts={HostFilePath}'] in combination with the injected AgeFakeHost.dll I get this from the client:

Enter the number of the 'server' (1-1): 1
Saving hosts to 'C:\Users\Administrator\AppData\Local\Temp\ageLANServer_host_308012619.txt' file...
Adding 'server' certificate to local store, authorize 'config-admin-agent' if needed...
Something went wrong, aoe-api.reliclink.com either points to the original 'server' or there is a certificate issue.
Killing 'agent' if needed...
Cleaning up...
Program finished with errors...

To Reproduce
Steps to reproduce the behavior:

  1. Create Cert by double-click genCert.exe
  2. Start Server AoE2
  3. Start Launcher

Expected behavior
Certificate gets read and installed

Software Components
Check all that apply:

  • Server
  • Server certificate generator
  • Launcher
  • Launcher configurator

Games
Check all that apply:

  • Age of Empires: Definitive Edition
  • Age of Empires II: Definitive Edition
  • Age of Empires III: Definitive Edition

Server

  • OS and Architecture: Windows 11
  • OS Version and architecture: 24H2 x64
  • Server version: Latest Release v1.11.2
  • Server Logs: Server-Logs.zip

Launcher

  • OS: Windows 11
  • OS Version and architecture: 24H2 x64
  • Client version: Latest Release v1.11.2
  • Launcher Logs: Launcher-Logs.zip

Metadata

Metadata

Assignees

Labels

aoe2Age of Empires II: Definitive EditionbugSomething isn't workinglauncherlauncher executable or subexecutable

Projects

Status

Troubleshooting

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions