help to use keystore in jmeter

588 views
Skip to first unread message

Ram Raj

unread,
Oct 14, 2022, 7:24:52 AM10/14/22
to jmeter-plugins
  Hi All,

I need to send a request to a server which expects a SSL certificate from client although I have given jks file details in the system properties.
I am getting this error

"Response code:Non HTTP response code: java.lang.NullPointerException
Response message:Non HTTP response message: No key(s) found"


DT

unread,
Oct 14, 2022, 7:51:20 AM10/14/22
to jmeter-plugins
This question isn't related to JMeter Plugins project, it should go to JMeter Forum instead.

From the error message it appears that you're trying to "feed" an empty keystore without any certificates to JMeter.

It can be checked using keytool command:

keytool -list -keystore /path/to/your/keystore -storepass your-keystore-password

My expectation is that you will get something like:

Untitled.png

And if the certificate is there the output would be a little bit different:
Untitled2.png
So you need to import the client-side certificate into the keystore and that would be it.

Reply all
Reply to author
Forward
0 new messages