Solved

SSL v3 handshake error:  bad_record_mac

Posted on 2006-06-14
4
2,560 Views
Last Modified: 2012-05-05
I am developing a Java client application to work with a web server.  Everything was fine until the server was changed to strictly use the ssl v3 protocol.  During the handshaking, I now get a bad_record_mac error during the handshake's final stage.

From the ssl log:

main, WRITE: SSLv3 Change Cipher Spec, length = 1
*** Finished
verify_data:  { 103, 120, 75, 207, 55, 129, 35, 51, 184, 41, 70, 157, 27, 177, 2
05, 106, 79, 118, 93, 206, 248, 35, 80, 85, 214, 168, 197, 232, 64, 190, 102, 93
, 134, 188, 148, 138 }
***
main, WRITE: SSLv3 Handshake, length = 56
main, READ: SSLv3 Alert, length = 2
main, RECV SSLv3 ALERT:  fatal, bad_record_mac

The "change cipher spec" above appears to be successful from the server.  The problem seems to be that the client is not successfully processing its final "change cipher spec."
0
Comment
Question by:don2347
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 500 total points
ID: 16910061
Are you trying to make a call before a response has come back to the previous call or accessing the same socket in multiple threads, trying to do read/ write simulatenously? If so, don't do it.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question