Search code examples
eclipseegit

eGit fails to import a repo using https URL


I am getting the following error when trying to clone Git repo using egit and eclipse:

enter image description here

Here's what I managed to do so far:

  1. Cloning using ssh works but not https
  2. Cloning using https and ssh works from the command line on the same URL.

So, this must be an egit / eclipse problem.

Proxy is not configured in eclipse nor do I need one configured to clone this repo.

When I set http.sslVerify = false in gitconfig as suggeested by the error it doesn't help and i'm getting the same error.

Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)

Any ideas?


Solution

  • Solved it by installing the 64 but version of eclipse