Answered question

I got this error after a new recording " javax.net.ssl.SSLException: Received fatal alert: bad_record_mac". Why?

I made a new recording of my new HTTPS application with NeoLoad but received the error above. Of Note:  I don't have this issue outside of the NeoLoad application.

How can I get rid of that error?

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team
Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

When you record with NeoLoad, there will be the NeoLoad proxy between your browser and your application server.  For HTTPS applications, you can have different SSL versions that can be used for the SSL handshake.

By default, NeoLoad will use the SSLv2 version. But some Servers only accept SSLv3 version and so this can cause some errors like the one you've encountered.

In that case, you can configure NeoLoad to specifically use the SSLv3 for the handshake.

Here is the procedure:

  1. Stop NeoLoad
  2. Edit <install_dir>\conf\controller.properties
  3. Go to [General] section and locate that key below:
    https.protocols=SSLv2Hello,SSLv3,TLSv1
  4. Remove the two options in order to keep only SSLv3 like below:
    https.protocols=SSLv3
  5. Save
  6. Start NeoLoad


Now your NeoLoad recording should correctly work.

Did you find this useful ?

No (1)

Yes (0)

0%

0% of users found this answer useful