Hi Dieter,
just a hint to search for further resources:
You need to create and set your own local keystore.
There is a program called keytool shipped with the java binaries which you
will need.
bye,
feri
> Hi
> I want to test my application which connects to a https site. The
[quoted text clipped - 13 lines]
> Cheers
> Dieter
Two possibilities.
Import the CA certificate that signed your test cert into your java
keystore.
Modify your code to include an X509TrustManager, and pass it to
SSLContext.init
<http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/SSLContext.html#init(javax
.net.ssl.KeyManager[],%20javax.net.ssl.TrustManager[],%20java.security.SecureRan
dom)>
Also see
<http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/TrustManagerFactory.html#g
etTrustManagers()>
Hope this helps.
Rogan

Signature
Rogan Dawes
*ALL* messages to discard@dawes.za.net will be dropped, and added
to my blacklist. Please respond to "nntp AT dawes DOT za DOT net"