Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JonAdam

macrumors newbie
Original poster
Sep 10, 2020
2
0
Hi,

I have a macbook running OS X Yosemite 10.10.5.
My git (2.5.4, Apple git-61) suddenly stopped working, with the error message "SSL peer handshake failed, the server most likely requires a client certificate to connect".

I tried updating git, reconnecting to the server and signing out and back in to my account, sadly to no avail.

Any help would be appreciated.

Thanks.
 

Wowfunhappy

macrumors 68000
Mar 12, 2019
1,751
2,091
^ Echoing this question. You're on an older OS so it may be due to missing cipher suites, but Github should work fine.
 

JonAdam

macrumors newbie
Original poster
Sep 10, 2020
2
0
Hey, thanks for your replies. It's bitbucket I'm trying to connect to, should've clarified that from the beginning.

I tried deleting the keys both with the terminal and keychain manager, but to no avail.

How do I install "missing cipher suites"?

Thanks :)
 

casperes1996

macrumors 604
Jan 26, 2014
7,599
5,771
Horsens, Denmark
Hey, thanks for your replies. It's bitbucket I'm trying to connect to, should've clarified that from the beginning.

I tried deleting the keys both with the terminal and keychain manager, but to no avail.

How do I install "missing cipher suites"?

Thanks :)

No clue, mate - though I would try with brew install libressl or brew install openssl
 

Wowfunhappy

macrumors 68000
Mar 12, 2019
1,751
2,091
How do I install "missing cipher suites"?

You don’t unfortunately, they’re built into the OS. :(

What I’m doing on Mavericks (one version older than Yosemite) is running all of my https traffic through a proxy which understands the newer cipher suites. It’s a bit drastic, but it works and fixes a lot of apps. If that is indeed the problem, you should be able to set it up on Yosemite too. https://forums.macrumors.com/threads/fixing-maverickss-outdated-https.2250533/

Another option (and maybe a better one, if Git is the only place you’re having SSL problems) is to install Git from Macports and use that instead of the Apple-supplied copy. MacPorts binaries use their own, up-to-date libraries instead of the ones supplied by Apple, so you’ll get up-to-date cipher suites.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.