473,387 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

java.security.NoSuchAlgorithmException: using SSL with Webtest

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

---
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
name="webtest.connectioninitializer"
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 2586

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ravishankar M Sastry | last post by:
Hello, We are getting a NoSuchAlgorithmException when we pass "DESede" to the method javax.crypto.Cipher.getInstance. This problem happens only with Netscape 7.0 on HP-UX and works fine with...
0
by: toxxi | last post by:
If I use this little Prg under Sun's Java, the outputbytearray (byte1) is ~46 bytes long! If I use it under J# the outputbytearray (byte 1) is all the time only 40 bytes long! Can anyone show me...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
0
by: mailkhurana | last post by:
Hii , I am trying to use a type 2 driver to connect to DB2 0n AIX 5 I have a small java test to class to establish a conneciton with the db .. I am NOT using WAS or any appserver When I try to...
2
by: Tim Murray | last post by:
First of all, I don't know much about Java, even its naming and version numbering nomenclature, and second, if there is a better group to ask this in, please let me know. System is Mac with...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
0
by: ddoc | last post by:
Hi, I record a webtest. When I lauched by testManager this webtest, the result is a success. I launch one more time and the result is the same. I create a loadtest and I add this webtest....
2
by: rayoflight | last post by:
This is how my test program works. Server will encrypt some text and sends it over to the client. The client will then decrypts it. However I have some problem decrypting it. When I play...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.