> Hi!
> I'm using HttpUnit to connect to a secure website.
[quoted text clipped - 19 lines]
> sun.security.provider.certpath.SunCertPathBuilderExce
> ption: unable to find valid certification path to requested target
Should the URL be https instead of http?
> Can anyone guide me on this?
> Also, would it be possible to programatically install the certificate
> on to my JVM so that next time i try a new secure website, i dont have
> to install/ copy the certificate? I'm trying to automate the whole
> stuff.
U need to define the following javax.net.ssl.keyStore and trustStore.
eg
java -Djavax.net.ssl.keyStore=keystore.ks
-Djavax.net.ssl.keyStorePassword=Password etc...
Similarly for trustStore.
HTH.
Boris Tabenkin - 11 Jun 2005 00:49 GMT
>>Hi!
>>I'm using HttpUnit to connect to a secure website.
[quoted text clipped - 36 lines]
>
> HTH.
I am so confused, would the kesytore be the $(HOME)/kestore? How would
you do this in an applet?