libcurl certificate error on client startup [SOLVED]

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
rafaelff
Posts: 36
Joined: Wed Apr 01, 2015 1:33 pm
Player profile: http://ddnet.tw/players/RafaelFF/

libcurl certificate error on client startup [SOLVED]

Post by rafaelff »

[2017-09-01 07:59:59][fetcher]: task failed. libcurl error: error setting certificate verify locations:
CAfile: /u/data/ca-ddnet.pem
CApath: none
[2017-09-01 07:59:59][ddnet-ranks]: download failed
This console output is printed on client startup of version 10.8.3 (I didn't notice if this also happened in other versions), in Arch Linux 64-bit. Is this expected or should I fix something in my package?
Last edited by rafaelff on Fri Sep 01, 2017 2:21 pm, edited 2 times in total.
User avatar
deen
TECHNICAL Team
Posts: 3575
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: libcurl certificate error on client startup

Post by deen »

Well, are you bundling the ca-ddnet.pem? The CAfile path to it looks weird.

Edit: Ok, I can reproduce the problem when installing to /usr. Will check.

Edit2: Fixed here, also changed the paths to ddnet instead of teeworlds: https://git.io/v5BkR

Do you need a new release for that? You're probably the only one bundling DDNet right now.
rafaelff
Posts: 36
Joined: Wed Apr 01, 2015 1:33 pm
Player profile: http://ddnet.tw/players/RafaelFF/

Re: libcurl certificate error on client startup

Post by rafaelff »

It works, thanks! No need for a new version as I can patch it myself.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests