# SSL Handshake Error

**URL:** <https://community.f5.com/t/ssl-handshake-error/11586>\
**Category:** Technical Forums\
**Tags:** big-ip, security, ltm\
**Created:** [February 10, 2016, 7:32pm UTC](https://community.f5.com/t/ssl-handshake-error/11586 "2016-02-10T19:32:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattEWS\_248690](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MattEWS\_248690](https://community.f5.com/u/MattEWS_248690)\
**Post date:** [February 10, 2016, 7:32pm UTC](https://community.f5.com/t/ssl-handshake-error/11586/1 "2016-02-10T19:32:04Z")

</div>

Hello, I’m fairly new to F5 but have unfortunately been tasked with updating all network connections to TLS 1.2 (only) To that end I’m simply trying to put a SSL enabled LTM Virtual Server in front of an existing server. While a non-SSL LTM is working fine, when I use an SSL connection I receive the following errors: Feb 10 13:26:54 xxxx debug tmm1[6387]: 01260009:7: Connection error: ssl\_null\_parse:2667: record length too large (22) Feb 10 13:26:54 xxxx info tmm1[6387]: 01260013:6: SSL Handshake failed for TCP x.x.x.x:9200 → x.x.x.x:3923 this is in the ltm log. Anyone at F5 or expert in this technology have a possible remedy or idea about these?

Thanks in advance Matt

---

<div class="post-metadata">

**Author:** ![Kevin\_Stewart](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/kevin_stewart/32/15267_2.png) [@Kevin\_Stewart](https://community.f5.com/u/Kevin_Stewart)\
**Post date:** [February 10, 2016, 10:28pm UTC](https://community.f5.com/t/ssl-handshake-error/11586/2 "2016-02-10T22:28:58Z")

</div>

Is this client side or server side SSL? In other words, is the SSL from a client to the BIG-IP, or from the BIG-IP to the server?

---

<div class="post-metadata">

**Author:** ![MattEWS\_248690](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MattEWS\_248690](https://community.f5.com/u/MattEWS_248690)\
**Post date:** [February 11, 2016, 1:15pm UTC](https://community.f5.com/t/ssl-handshake-error/11586/3 "2016-02-11T13:15:23Z")

</div>

Thank you for the reply, best I can tell from Fiddler is that we’re successfully establishing a tunnel to the BIG-IP appliance and the error is from the appliance to the server. I’m 99% sure its the second scenario - BIG-IP to the server. Thank You

---

<div class="post-metadata">

**Author:** ![Kevin\_Stewart](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/kevin_stewart/32/15267_2.png) [@Kevin\_Stewart](https://community.f5.com/u/Kevin_Stewart)\
**Post date:** [February 11, 2016, 2:09pm UTC](https://community.f5.com/t/ssl-handshake-error/11586/4 "2016-02-11T14:09:14Z")

</div>

Okay, so here’s what concerns me.

```tcl
SSL Handshake failed for TCP x.x.x.x:9200 -> x.x.x.x:3923

```

So, a few additional questions:

1. Do you intend to re-encrypt to the servers? The connection between the BIG-IP and server?
2. If so, do you have a server SSL profile applied to the VIP?
3. Is the server really listening on the above port, and expecting SSL?

---

<div class="post-metadata">

**Author:** ![MattEWS\_248690](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MattEWS\_248690](https://community.f5.com/u/MattEWS_248690)\
**Post date:** [February 11, 2016, 2:31pm UTC](https://community.f5.com/t/ssl-handshake-error/11586/5 "2016-02-11T14:31:36Z")

</div>

1.) Yes, that connection must also be encrypted and is intentional 2.) Yes. The only enabled ‘Options’ are “Don’t insert empty fragments” 3.) Yes it is - I can hit that server directly with success. We think this might be a CIPHER mis-match (our server SSL profile is set to DEFAULT and we’re trying to connect via TLS 1.2 only)

---

<div class="post-metadata">

**Author:** ![Kevin\_Stewart](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/kevin_stewart/32/15267_2.png) [@Kevin\_Stewart](https://community.f5.com/u/Kevin_Stewart)\
**Post date:** [February 11, 2016, 2:41pm UTC](https://community.f5.com/t/ssl-handshake-error/11586/6 "2016-02-11T14:41:25Z")

</div>

Not sure which LTM version you’re on, but server side TLS1.2 is supported in most platforms. There’s a couple of things I’d try next:

1. Open an SSH connection to the BIG-IP and issue an openssl s\_client command to the server

2. Start an SSLDUMP capture on this internal interface

---

<div class="post-metadata">

**Author:** ![MattEWS\_248690](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@MattEWS\_248690](https://community.f5.com/u/MattEWS_248690)\
**Post date:** [February 11, 2016, 2:44pm UTC](https://community.f5.com/t/ssl-handshake-error/11586/7 "2016-02-11T14:44:00Z")

</div>

We’ll take that route - thank you Kevin I’m a F5 noob (no idea how I got tasked with this) so your direction is much appreciated. R/ Matt
