msys2: Windows builds cannot access HTTPS
A user reported that the current 2.6 gtk3 windows build is unable to fetch a modpack from an https url.
#5 Updated by Marko Lindqvist 7 months ago
I tested with S3_0 msys2 (environment 191012, i.e., quite recent). Freeciv-mp-gtk3 installed by the installer does not work with https. However, running freeciv-mp-gtk3 from the build directory, inside full msys2 environment, does work. In this case, at least, the problem seems to be that certificates are not installed by the installer. In older environments certs can of course be also outdated.
#6 Updated by Marko Lindqvist 7 months ago
- File 0016-msys2-Fix-https-usage.patch 0016-msys2-Fix-https-usage.patch added
- Status changed from New to Resolved
Attached patch for S3_0/master msys2 has two parts; install certs in installer Makefile, and take the installed certs to use by utility/ code change.
Will continue with S2_6 changes, but going to push S3_0/master part in ~36h.
#7 Updated by Marko Lindqvist 7 months ago
Marko Lindqvist wrote:
take the installed certs to use by utility/ code change.
As this sets installer specific certs path to use in Windows builds, presumably non-installer builds break (as far as they ever worked). Still, installer is the most important use-case by far, so going forward with this and trying to address other use-cases in future tickets.