Client connecting to web application is slow. Wireshark showing TLSv1.2 Record Layer: Encrypted Alert (21)

I have users complaining the when they connect to our Kronos Time and Attendance application it is extremely slow loading the pages. I did a Wireshark capture and notice that all clients are getting a Encrypted Alert (21)

 4874      46.196898000      162.x.x.x       10.XX.XX.XX      TLSv1.2      123      Encrypted Alert
4875      46.196927000      10.XX.XX.XX      162.x.x.x       TCP      54      54303→443 [ACK] Seq=1 Ack=70 Win=255 Len=0
4876      46.197422000      162.x.x.x       10.XX.XX.XX      TCP      60      443→54303 [FIN, ACK] Seq=70 Ack=1 Win=32 Len=0
4877      46.197440000      10.XX.XX.XX      162.x.x.x       TCP      54      54303→443 [ACK] Seq=1 Ack=71 Win=255 Len=0

3-23-2015-2-49-45-PM.png
This happens on all the clients connecting. The pages do end up loading but it takes 10-12 seconds. Is this an SSL issues?
clynch302Asked:
Who is Participating?
 
Zephyr ICTCloud ArchitectCommented:
Error 21 is code for decryption failed, as can be found here ...

What this really means is this:

Decryption of a TLSCiphertext record is decrypted in an invalid way: either it was not an even multiple of the block length or its padding values, when checked, were not correct. This message is always fatal.
source

So definitely something with encryption, so could be ssl ... But maybe enable debugging (or set to a higher level) to see if any errors can be found in the logs that would be more helpful.
0
 
clynch302Author Commented:
I found out that the server did not have TLS encryption enabled in the registry. Once I added

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001

the error went away....

Thanks
0
 
Zephyr ICTCloud ArchitectCommented:
Great stuff, thanks for posting the solution!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.