2 messages in com.canoo.lists.webtest[Webtest] Canoo Webtest and SSL Clien...| From | Sent On | Attachments |
|---|---|---|
| Goeschl Siegfried | 11 Nov 2002 04:57 | |
| Carsten Seibert | 15 Nov 2002 01:19 | .dat |
| Subject: | [Webtest] Canoo Webtest and SSL Client Authentication![]() |
|---|---|
| From: | Goeschl Siegfried (S.Go...@together.at) |
| Date: | 11/11/2002 04:57:18 AM |
| List: | com.canoo.lists.webtest |
Hi folks,
I'm currently integrating Canoo Webtest into MAVEN
(http://jakarta.apache.org/turbine/maven/) and have a JSSE/Canoo question:
Is it possible to use SSL with client authentication with Canoo Webtest ?! As
far as I know it is impossible to import the client.pfx into a keystore but I
think it should be possible to use the PFX as keystore. But I get an invalid key
store format ... any ideas.
If use only the public key of the client in the client keystore I get "HTTP 403
- Access forbidden"
Environment
================================================================================================
+) I set up the trust.keystore with the server certificate +) I'm using the latest Canoo Webtest (Build 256) +) I'm using the included JSSE jars +) I'm running on Windows 2000 Server
Stacktrace
================================================================================================
webtest:test:
[echo] Starting Canoo Webtest ...
[echo] Processing testSampleGF.xml
[java] Buildfile:
C:\DEVELOP\MAKLERPLATTFORM\JAVADEV\SampleGF\webtest\testSampleGF.xml
[java]
[java] testQueryVertrag:
[java] [testSpec] Using Custom ConnectionInitializer:
com.canoo.webtest.security.SunJsseClientA
uthConnectionInitializer
[java] [testSpec] Ext property:
webtest.truststore.file=webtest/certs/trust.keystore
[java] [testSpec] Ext property: webtest.truststore.passphrase=together
[java] [testSpec] Ext property: webtest.keystore.file=webtest/certs/client.pfx
[java] [testSpec] Ext property: webtest.keystore.passphrase=test
[java] [testSpec] Ext property: webtest.keystore.alias=benutzermakler
[java] [testSpec] java.io.IOException: Invalid keystore format
[java] [testSpec] at
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:609)
[java] [testSpec] at java.security.KeyStore.load(KeyStore.java:613)
[java] [testSpec] at
com.canoo.webtest.security.SunJsseClientAuthConnectionInitializer.getKeyM
anagers(SunJsseClientAuthConnectionInitializer.java:24)
[java] [testSpec] at
com.canoo.webtest.security.SunJsseBaseConnectionInitializer.installTrustA
ndKeyManager(SunJsseBaseConnectionInitializer.java:82)
[java] [testSpec] at
com.canoo.webtest.security.SunJsseBaseConnectionInitializer.initializeCon
nection(SunJsseBaseConnectionInitializer.java:38)
[java] [testSpec] at
com.canoo.webtest.steps.Target.invokeCustomInitializerIfNeeded(Target.jav
a:285)
Thanks in advance
Siegfried Goeschl





.dat