Help Center/ CodeArts Repo/ FAQs/ Authentication/ TLS Handshake Fails and the Error Message "ssl handshake failure" Is Displayed
Updated on 2025-03-27 GMT+08:00
TLS Handshake Fails and the Error Message "ssl handshake failure" Is Displayed
Symptom
Run the following command on the local host to establish a TLS1.0 connection with the specified server and obtain the certificate information:
openssl s_client -connect test.com:443 -tls1
The following error message is displayed.
CONNECTED(00000003)
140155533838224:error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version:s3_pkt.c:1493:SSL alert number 70
140155533838224:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:s3_pkt.c:659:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 0 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
Key-Arg : None
Krb5 Principal: None
PSK identity: None
PSK identity hint: None
Start Time: 1720443876
Timeout : 7200 (sec)
Verify return code: 0 (ok)
--- Analysis
CodeArts Repo supports TLS1.2 and TLS1.3.
Solution
- Run the following command on the Git Bash client to check your Git version:
git --version
- If your Git is earlier than 2.6.0, upgrade it to the latest version. The latest Git supports TLSv1.2 by default. If your Git version is 2.6.0 or later, specify the TLS protocol version:
openssl s_client -connect test.com:443 -tls1_2
Parent topic: Authentication
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.

