-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certificate verification failed for downloading from https://www.lua.org #20
Comments
Thanks for the report! I am unfamiliar with Visual Studio — could you send a PR adding support for more recent MSVC versions? I think that would be the best way to deal with this Appveyor incompatibility. Thank you! |
I'm also unfamiliar with Visual Studio and also with Python. It took me a lot of try and error to figure out that certificate verification from https://lua.org in Python (for Windows) 2.7, 3.8 und 3.10 did not work (P.S. see below). So I would like to suggest to revert #14 or at least to implement an option to disable https. The checksums of the downloads are verified, so using https does not give extra security, but as shown it increases complexity by providing an additional point of possible failure. P.S.: I re-checked Python 3.10 on my virtual box windows and now it works. Last time I checked it didn't work. So the problem seems to be related to the Windows certificate store, which could have been updated after latest Windows updates I guess. It also didn't work on the AppVeyor build server, could be that there the certificate store was/is not up to date too. Anyway I still would like to have an option to disable https for the mentioned reasons just to be able to prevent any problems without the need to check out an old version of Hererocks. |
I just remembered I went through a similar issue in the LuaRocks repository with Appveyor+Hererocks+Python (d'oh!) This is how I solved it, forcing Python to fetch and use updated certificates: https://github.com/luarocks/luarocks/blob/master/appveyor.yml#L53-L58 |
Ah OK thanks for pointing this out, I'll try it the next time I'm running into these problems. |
I'm getting CERTIFICATE_VERIFY_FAILED when using Python Version 3.8.
With Python 3.9 the download from https://www.lua.org works but unfortunately: Python 3.9 is not available in an Appveyor image together with Visual Studio 2015, see https://www.appveyor.com/docs/windows-images-software/
It seems that Visual Studio 2015 is the latest version supported by hererocks:
As a workaround I got it working by using:
image: Windows Server 2012 R2
pip install git+https://github.com/luarocks/[email protected]
vs_32
andvs_64
these are selectingVS 14.0 (x86)
andVS 14.0 (x64)
which seems to be Visual Studio 2015.The text was updated successfully, but these errors were encountered: