Git clone fails with SSL routines:SSL23_GET_SERVER_HELLO

Still need help?

The Atlassian Community is here for you.

Ask the community


The following errors are encountered when trying to clone a Bitbucket Server repository from a client machine:

* error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
* Closing connection 0
fatal: unable to access 'https://kidney:8443/bitbucket/scm/proj/testone.git': error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
Cloning into 'clone'...
fatal: unable to access 'https://kidney:8443/bitbucket/scm/proj/clone.git': error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure


There is a reported bug in OpenSSL: The OpenSSL version installed on your client is v1.0+.


Option 1:

Edit the Tomcat configuration for Bitbucket Server (as an attribute under the Connector element) to only allow stronger encryption by editing <Bitbucket Server installation directory>/conf/server.xml and then restarting Bitbucket Server:


For Bitbucket Server 5.0+, the ciphers can be controlled by adding server.ssl.ciphers in $BITBUCKET_HOME/shared/ with the ciphers from above.

Option 2:

This bug was introduced as of OpenSSL v1.0+. Please downgrade your OpenSSL/0.9.8k on the client trying to clone from Bitbucket Server.

Read more here:

Last modified on May 2, 2017

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.