470,833 Members | 1,391 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

java.security.NoSuchAlgorithmException: using SSL with Webtest

what usually causes a java.security.NoSuchAlgorithmException? i am getting
while trying to run WebTest with SSL. so, if there is anyone out there
SSL and webtest i would appreciate the help on the problem listed below.

I read the introduction on maven-plugins page
(<http://maven-plugins.sourceforge.net/webtest/ssl.html>). I've saved the
certificate from server and create the "trust.keystore". I changed the
config file and start to invoke a SSL page, but it didn't run. I think I
have problems with the two properties which I should create <property
value="com.canoo.webtest.security.SunJsseBaseConne ctionInitializer"/>
<property name="webtest.truststore.file"
value="webtest/certificate/trust.keystore"/> I don't know how they run with
the webtest application and I think that the "webtest.connectioninitializer"
property can't find the right classpath. I get following error message.
[testSpec] java.security.NoSuchAlgorithmException: Class
com.sun.net.ssl.internal.ssl.TrustManagerFactoryIm pl configured for
TrustManagerFactory: not a TrustManagerFactory [testSpec] at
javax.net.ssl.SunJSSE_b.a(Unknown Source) [testSpec] at
javax.net.ssl.SunJSSE_b.a(Unknown Source) [testSpec] at
javax.net.ssl.TrustManagerFactory.getInstance(Unkn own Source) I would be
happy if sb. can tell me how to get webtest running with SSL.
Jul 17 '05 #1
0 2450

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ravishankar M Sastry | last post: by
reply views Thread by toxxi | last post: by
2 posts views Thread by Tim Murray | last post: by
reply views Thread by ddoc | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.