0

Im trying to use client ssl certificate in JMeter to authenticate on website. The problem is that when i try to import it in SSL Manager, im not getting any message for password, anything. In configuration i've written:

user.classpath=/home/m/Downloads/jre-1.7.0_09/usr/java/jre1.7.0_09/lib/
ssl.provider=com.sun.net.ssl.internal.ssl.Provider

I've added user.classpath because jsse.jar stands there, but i think its not necessary. What am i doing wrong?

marxin
  • 3,692
  • 3
  • 31
  • 44
  • Eh, i had many things to do and i didn't have a time to test it. I've tested my website with funkload and thats why i forgot about that. I will try to try it ;) – marxin Dec 10 '12 at 08:41

1 Answers1

1

To test Client Certificates, use this:

Steps are:

  1. Create your certificates either with Java keytool utility or through your PKI
  2. If created by PKI, import your keys in Java Key Store by converting them to a format acceptable by JKS
  3. Then reference the keystore file through the 2 JVM properties : -Djavax.net.ssl.keyStore=path_to_keystore -Djavax.net.ssl.keyStorePassword=password_of_keystore
  4. You use either HTTPClient 3.1 or 4 implementations for HTTP Request

To make JMeter use more than one certificate you need to ensure that:

https.use.cached.ssl.context=false 

is set in jmeter.properties or user.properties

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116