[Webtest] Login for SSL
Siegfried Göschl
webtest@lists.canoo.com
Fri, 04 Apr 2003 21:09:00 +0200
Hi Matt,
I got Canoo WebTest Build 255 & 276 running with SSL and Basic
Authentication. Since I always forget the details I wrote some
documentation you find at
http://212.186.79.132/webtest/index.html
Looking at your stack trace you are missing a trust.keystore to
accept the server certificate.
Hope the server is up and the stuff proves helpful even if it is
geared toward the Canoo WebTest Maven plugin.
Cheers,
Siegfried Goeschl
BTW - Still using JUNITPP?!
On 4 Apr 2003 at 10:50, Matt Raible wrote:
> 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
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>