Solve Server has a weak ephemeral Diffie-Hellman public key in LoadRunner

In this article, you are going to learn about How to solve Server has a weak ephemeral Diffie-Hellman public key in LoadRunner. Before you learn how to solve, it is important to know what is Diffie-Hellman public key.

What is the Diffie-Hellman public key?

I suggest you read this Wikipedia page about the Diffie-Hellman key exchange. The Diffie-Hellman key exchange is also called as Exponential Key Exchange. It is a method of digital encryption where the numbers raised to specific powers to generate decryption keys. It is one of the public-key protocols. Below is the illustration from Wikipedia.

Diffie-Hellman Key Exchange
Diffie-Hellman Key Exchange

Why the weak ephemeral Diffie-Hellman public key error occurs?

If your application is trying to establish a secure connection, but actually not. It is due to your SSL/TLS uses a Diffie-Hellman group size smaller than 1024 bits. This will affect both browser and the server.

To validate your browser establishes secured connection, visit https://weakdh.org/. It will display below message.

Solve Server has a weak ephemeral Diffie-Hellman public key in LoadRunner?
Diffie-Hellman Logjam Attack

How to solve server has a weak ephemeral Diffie-Hellman public key in LoadRunner?

While load testing or unit testing, if the LoadRunner throws the weak ephemeral Diffie-Hellman public key error, you need to check whether the latest upgrade installed for your browsers. Try to record the business flow in all the available browsers. If still the issue persists, you need to follow below steps:

  1. Open LoadRunner bin folder
  2. Backup the below DLLs:
    1. Api_opensssl_proxy.dll
    2. Api_openssl_proxy_x64.dll
  3. Download the below patches
    1. LoadRunner_12_50_Diffie_Hellman.zip
    2. LoadRunner_12_02_Diffie_Hellman.zip
    3. LoadRunner_12_01_Diffie_Hellman.zip
    4. LoadRunner_12_00_Diffie_Hellman.zip

Apply the two DLLs appropriately. To download the DLLs, you need valid passport access. In this article, you learnt how to solve Server has a weak ephemeral Diffie-Hellman public key in LoadRunner? Please share this article and support me.

About the Author

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Hamster - Launch JMeter Recent Test Plans SwiftlyDownload for free
+
Share via
Copy link