Closed jp-pulga closed 5 years ago
this is not a good solution, I don't want to ignore SSL problems for an executable file I download and execute on the users computer.
I think I will need to switch away from curl instead, maybe add vibe-core and vibe.d:http and replace the current custom fiber system, though it will add a lot of dependencies again.
This may help https://curl.haxx.se/docs/sslcerts.html
https://curl.haxx.se/libcurl/c/cacertinmem.html + https://curl.haxx.se/docs/caextract.html is probably the way to go
but right now the curl wrapper in D doesn't even provide this functionality. What I could also try is the requests library
Fixes the download error reported in https://github.com/Pure-D/serve-d/issues/53#issuecomment-454334628