Oscar Ivan
Oscar Ivan

Reputation: 949

fatal: unable to access 'https://repositoryName': SSL peer handshake failed, the server most likely requires a client certificate to connect

When i try to clone the project i'm getting this error and i don't have idea what is happening. I couldn't find a clear answer so if anyone have had this problem before let me know how did you solved it. Thanks!

Upvotes: 1

Views: 2098

Answers (2)

user1671530
user1671530

Reputation: 1

I started randomly running into this same error for a repository that was working fine previously. Switching remote URLs from the https protocol to ssh resolved the issue for me.

https://docs.github.com/en/github/using-git/changing-a-remotes-url

Upvotes: 0

Oscar Ivan
Oscar Ivan

Reputation: 949

I had to add an SSH keys into Bitbucket-->Personal settings, remove the local repository and clone it again through SSH option. I don't know why.

Upvotes: 1

Related Questions