Downloads.download not working on github while OS curl does

I renamed the thread as the main issues seems to be really just on Downloads.download throwing an error on most of https link including github/pkg server which end up making Artifact downloads impossible on this remote machine.

I check possible previous threads with issues with Downloads like:

I have also seen that there used to be a way to override the downloader used by julia by setting the BINARYPROVIDER_DOWNLOAD_ENGINE variable but this does not seem to be applicable anymore in recent julia versions.

I initially though this issue might be temporary on the server I am working on but it’s now multiple days that is going on and it’s making my julia use on this linux host very problematic as a lot of packages now directly or indirectly rely on artifacts.

Is there a way to make julia use the system’s curl somehow for Artifacts (and or the whole Pkg stuff?) I doubt so but maybe worth asking.

Also shamelessly pinging @StefanKarpinski directly (sorry for the bother) as I see you were often answering questions with Downloads.download issues.