Setting up SSL in JMeter

Profile picture for user devraj

Your server will not start unless you set up SSL. Since JMeter 4.0 default transport mechanism for RMI will use SSL. 

SSL needs keys and certificate to work which you can create by yourself. 

The simplest setup is to use one key/cert pair for all JMeter servers and clients you want to connect. 

JMeter comes with a script to generate a keystore that contains one key (and its corresponding certificate) named rmi. It will generate a key-pair, that is valid for seven days, with a default passphrase of value 'changeit'. It is advised to call it from inside the bin directory.

Setting up SSL in JMeter on Window Operating System

Step 1: Go to bin Directory

Step 2: Open create-rmi-keystore.bat

Step 3: Enter detail as per your choice

Setting up SSL in JMeter on Ubuntu/MacOS Operating System

Step 1: Go to bin Directory

Step 2: Open create-rmi-keystore.sh

Step 3: Same as step 3 above.

Tags