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.
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.
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:
- Open LoadRunner bin folder
- Backup the below DLLs:
- Download the below patches
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.