Page 1 of 1

libcurl certificate error on client startup [SOLVED]

Posted: Fri Sep 01, 2017 1:05 pm
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?

Re: libcurl certificate error on client startup

Posted: Fri Sep 01, 2017 1:27 pm
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.

Re: libcurl certificate error on client startup

Posted: Fri Sep 01, 2017 2:19 pm
by rafaelff
It works, thanks! No need for a new version as I can patch it myself.