Connection Fail: certificate verify fail (SSL routines) - muliplayer

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
jakubpanek
Posts: 5
Joined: September 4th, 2019, 7:29 pm

Connection Fail: certificate verify fail (SSL routines) - muliplayer

Post by jakubpanek »

Hello

My friend have a problem with multiplayer game so I write here to help him.

While choosing an option "Connect with official server" he can not connect with server - he gets the communicate "Connection Fail: certificate verify fail (SSL routines)".
The problem happens just after clicking connection - he cannot even put his password to his account.
The same problem is when choosing "Connect to server option".

OS Windows 10
Wesnoth 1.16.10 version, but happens also on previous installments.

We tried to:
- switch wifi off and on
- switch off and on internet connection
- reinstall the game
- install version previous to 1.16 - the same problem there.


Wesnoth was installed for a first time on this machine but my friend didnt have such a problem on his previous laptop.

We appreciate any help as we cannot play on multiplayer.
I added error screen (text is half in Polish) and log with internet connection data.
Attachments
wesnoth-20240101-145352-10524.log
(6.8 KiB) Downloaded 34 times
ssl.jpeg
Last edited by jakubpanek on January 1st, 2024, 6:02 pm, edited 1 time in total.
User avatar
Pentarctagon
Project Manager
Posts: 5567
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Connection Fail: certificate verify fail (SSL routines) - muliplayer

Post by Pentarctagon »

Please provide the relevant information listed in viewtopic.php?t=25660
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
jakubpanek
Posts: 5
Joined: September 4th, 2019, 7:29 pm

Re: Connection Fail: certificate verify fail (SSL routines) - muliplayer

Post by jakubpanek »

ok, but what else is needed? I can't clearly see what else is missing.
I thought I gave all information listed in the above article.

Game is installed from wesnoth.org webpage.
I will supply build information soon as I get it.
Problem happens just after clicking "Connect with official server" to enter multiplayer lobby but before giving password data.
User avatar
Pentarctagon
Project Manager
Posts: 5567
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Connection Fail: certificate verify fail (SSL routines) - muliplayer

Post by Pentarctagon »

On the lower left corner of the build info dialog, there's a button to copy the full set of information to your clipboard, which you can then paste here. For example, mine looks like:

Code: Select all

The Battle for Wesnoth version 1.16.11 x86_64
Running on Steam Runtime 3 (sniper) x86_64
Distribution channel: Steam

Game paths
==========

Data dir:        /home/USER/.steam/debian-installation/steamapps/common/wesnoth
User config dir: /home/USER/.config/wesnoth
User data dir:   /home/USER/.local/share/wesnoth/1.16
Saves dir:       /home/USER/.local/share/wesnoth/1.16/saves
Add-ons dir:     /home/USER/.local/share/wesnoth/1.16/data/add-ons
Cache dir:       /home/USER/.cache/wesnoth

Libraries
=========

Boost:             1.66
Lua:               5.4.2
OpenSSL/libcrypto: 1.1.1l (runtime 1.1.1l)
Cairo:             1.10.2 (runtime 1.16.0)
Pango:             1.30.0 (runtime 1.46.2)
SDL:               2.0.20 (runtime 2.28.5)
SDL_image:         2.0.5 (runtime 2.6.3)
SDL_mixer:         2.0.4 (runtime 2.6.2)

Features
========

Lua console completion:       yes
D-Bus notifications back end: yes

Current video settings
======================

SDL video drivers:       [x11] wayland offscreen dummy evdev
Window size:             2560x1408
Screen refresh rate:     144
Screen dots per inch:    84.666664x84.666664
Screen dpi scale factor: 0.881944x0.881944

Current audio settings
======================

Audio not initialized.

Installed add-ons
=================

Support_1_12_Core: 1.3.2
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
jakubpanek
Posts: 5
Joined: September 4th, 2019, 7:29 pm

Re: Connection Fail: certificate verify fail (SSL routines) - muliplayer

Post by jakubpanek »

here is build data:
The Battle for Wesnoth version 1.16.10 x86_64
Running on Microsoft Windows 10 22H2 (10.0.19045) x86_64
Distribution channel: Default

Game paths
==========

Data dir: C:\Program Files\Battle for Wesnoth 1.16.10
User config dir: C:\Users\USER\Documents\My Games\Wesnoth1.16
User data dir: C:\Users\USER\Documents\My Games\Wesnoth1.16
Saves dir: C:\Users\USER\Documents\My Games\Wesnoth1.16\saves
Add-ons dir: C:\Users\USER\Documents\My Games\Wesnoth1.16\data\add-ons
Cache dir: C:\Users\USER\Documents\My Games\Wesnoth1.16\cache

Libraries
=========

Boost: 1.81
Lua: 5.4.2
OpenSSL/libcrypto: 3.0.0h-dev (runtime 3.0.0h-dev)
Cairo: 1.17.8 (runtime 1.17.8)
Pango: 1.50.11 (runtime 1.50.11)
SDL: 2.26.3 (runtime 2.26.3)
SDL_image: 2.6.3 (runtime 2.6.3)
SDL_mixer: 2.6.3 (runtime 2.6.3)

Features
========

Lua console completion: yes
Win32 notifications back end: yes

Current video settings
======================

SDL video drivers: [windows] offscreen dummy
Window size: 1536x864
Screen refresh rate: 60
Screen dots per inch: 96.000000x96.000000
Screen dpi scale factor: 1.000000x1.000000

Current audio settings
======================

SDL audio drivers: [wasapi] directsound winmm
Number of channels: 2
Output rate: 44100 Hz
Sample format: signed 16 bit little-endian
Sample size: 4096 bytes

Installed add-ons
=================

No add-ons installed.
jakubpanek
Posts: 5
Joined: September 4th, 2019, 7:29 pm

Re: Connection Fail: certificate verify fail (SSL routines) - muliplayer

Post by jakubpanek »

can anyone help pls?
User avatar
Pentarctagon
Project Manager
Posts: 5567
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Connection Fail: certificate verify fail (SSL routines) - muliplayer

Post by Pentarctagon »

Sorry, missed the new post notification somehow.

From the log, you can see the error Verifying TLS certificate: /C=US/O=Internet Security Research Group/CN=ISRG Root X1: failed. This apparently happened because it's still using DST Root CA X3: Issuer: O=Digital Signature Trust Co., CN=DST Root CA X3, which expired a while ago already. The version of Windows is definitely new enough that it have should have automatically pulled in the updated cert needed, so you'll need to either figure out why it didn't do that or install the updated cert manually.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
jakubpanek
Posts: 5
Joined: September 4th, 2019, 7:29 pm

Re: Connection Fail: certificate verify fail (SSL routines) - muliplayer

Post by jakubpanek »

Thank you very much for help
Post Reply