Hi list,

I was trying to use certificates for authentication in my testing
application. I was looking for a way to do this without using keystore
with a PKCS12 cert. I used the following property settings at the top to
denote which cert I will be using:

  <property name="webtest.keystore.file" value="path/cert.p12" />
  <property name="webtest.keystore.passphrase" value="*********" />

However, it appears that webtest is configured to only use JKS type
certificates. I've tried converting the cert with Jetty which I believed
converted properly however webtest still did not pick up that cert
properly. I updated webtest.jar setting the property in
com.canoo.webtest.security.SunJsseClientAuthConnectionInitializer to
PKCS12 instead of JKS. I also have unsuccessfully tried lowercase
pkcs12. Unfortunately without any luck.

I am porting my testing from JMeter where I was able to set the cert
using a properties file:
javax.net.ssl.keyStore=path/cert.p12
javax.net.ssl.keyStorePassword=**********
javax.net.ssl.keyStoreType=pkcs12

Is there anything similar or am I missing something obvious?

Thanks,
Sachin

Reply via email to