HaxeFoundation / neko

The Neko Virtual Machine
https://nekovm.org
Other
552 stars 107 forks source link

"Error: X509 - Certificate verification failed" in a clean Windows environment #196

Open andyli opened 5 years ago

andyli commented 5 years ago

Doing haxelib install jQueryExtern in a clean Windows container results in error as follows:

Error: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed |  
-- | --
  |   |  
  | Called from haxe/remoting/HttpConnection.hx line 63 |  
  | Called from C:\projects\haxe\std/sys/Http.hx line 58 |  
  | Called from C:\projects\haxe\std/sys/Http.hx line 245 |  
  | Called from C:\projects\haxe\std/sys/Http.hx line 60 |  
  | Called from haxe/remoting/HttpConnection.hx line 64 |  
  | Called from haxelib/client/Main.hx line 51 |  
  | Called from haxelib/client/Main.hx line 721 |  
  | Called from haxelib/client/Main.hx line 470

See: https://github.com/docker-library/official-images/pull/6281#issuecomment-511055993 https://bugs.python.org/issue36011

andyli commented 5 years ago

@pperidont Do you have any idea of how to fix it? The python bug I referenced should have some hints of the problem.

sugoidogo commented 4 years ago

getting this same issue, any progress?

duncandee commented 4 years ago

I had the same issue

I had to run export CURL_CA_BUNDLE="" to work around it.

sugoidogo commented 4 years ago

export is not a windows command, this issue is specific to windows.

NQNStudios commented 3 years ago

@josephsmendoza I ran into this problem and saw that @andyli made a workaround: https://github.com/andyli/HaxeCI/blob/31dfb5cd35928458605958eb3dd4838731696bb3/.travis.yml#L71-L74