java.security.NoSuchAlgorithmException: using SSL with Webtest

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Derek

    java.security.NoSuchAlgorithmException: using SSL with Webtest

    what usually causes a java.security.N oSuchAlgorithmE xception? 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.sourcef orge.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.c onnectioninitia lizer"
    value="com.cano o.webtest.secur ity.SunJsseBase ConnectionIniti alizer"/>
    <property name="webtest.t ruststore.file"
    value="webtest/certificate/trust.keystore"/> I don't know how they run with
    the webtest application and I think that the "webtest.connec tioninitializer "
    property can't find the right classpath. I get following error message.
    [testSpec] java.security.N oSuchAlgorithmE xception: Class
    com.sun.net.ssl .internal.ssl.T rustManagerFact oryImpl configured for
    TrustManagerFac tory: not a TrustManagerFac tory [testSpec] at
    javax.net.ssl.S unJSSE_b.a(Unkn own Source) [testSpec] at
    javax.net.ssl.S unJSSE_b.a(Unkn own Source) [testSpec] at
    javax.net.ssl.T rustManagerFact ory.getInstance (Unknown Source) I would be
    happy if sb. can tell me how to get webtest running with SSL.


Working...