PyOxidizer icon indicating copy to clipboard operation
PyOxidizer copied to clipboard

Invalid peer certificate error

Open brentgunderson opened this issue 2 years ago • 2 comments

I am behind a corporate firewall, and the command pyoxidizer run fails with this message:

error[PYOXIDIZER_BUILD]: error sending request for url (https://github.com/indygreg/python-build-standalone/releases/download/20221220/cpython-3.10.9%2B20221220-x86_64-pc-windows-msvc-shared-pgo-full.tar.zst): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer

I am able to manually download this file: https://github.com/indygreg/python-build-standalone/releases/download/20221220/cpython-3.10.9%2B20221220-x86_64-pc-windows-msvc-shared-pgo-full.tar.zst

Is is possible to redirect pyoxidizer to use this downloaded file?

brentgunderson avatar Apr 17 '23 14:04 brentgunderson

I believe this could help, however we'd need to change PyOxidizer code and use the nativeTLS stuff as described here: https://github.com/JuliaLang/juliaup/issues/170

kaplan2539 avatar Sep 14 '23 14:09 kaplan2539