Reputation: 4907
I have an issue on my Ubuntu 14 system. When I execute this command:
git clone 'https://gitlab.dune-project.org/pdelab/dune-pdelab-howto.git'
I receive this error:
failed: fatal: unable to access 'https://gitlab.dune-project.org/pdelab/dune-pdelab-howto.git/': gnutls_handshake() failed: Handshake failed
The repository that I am trying to clone from is a gitlab repository found by clicking this url dune-pdelab-howto.
I have been reading on this subject and I have yet to discover the solution to the problem. Here are some links and answers that elaborates on the issue:
What seems to be the problem, to my understanding, is that gnu_tls
needs to be replaced by openssl
as illustrated by the first link. However, when I try to do this, I can not compile git 2.10 with openssl. The default installation is always 1.9.1 and nothing I do changes that. The proposed solutions in the answer specifies a specific way of installing git as a package but in order to get the most recent, I need to use the ppa. Has anyone had a problem like this before. I'm stuck as to how I can resolve this issue and could use at least a clue to work off of.
Upvotes: 1
Views: 8420
Reputation: 51658
In order to compile the latest version of git
with openssl
(instead of gnutls
) and avoid troubles with gnutls_handshake() failed: Handshake failed
one can use Paul N. Baker's scripts:
https://github.com/paul-nelson-baker/git-openssl-shellscript
Upvotes: 2