[Webtest] Login for SSL

Matt Raible webtest@lists.canoo.com
Fri, 4 Apr 2003 10:50:49 -0700


I am trying to setup a test to login to my app every 60 minutes as a cron job.
 The reason for this is to eliminate a firewall timeout.  It works fine when
I'm not using SSL for login, but when I am, I get the following error:

    [canoo] javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateE
xception: Couldn't find trusted certificate
    [canoo]     at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
    [canoo]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    [canoo]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    [canoo]     at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    [canoo]     at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    [canoo]     at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    [canoo]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    [canoo]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    [canoo]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Das
hoA6275)

Any ideas on how to fix this?

Thanks,

Matt