users@glassfish.java.net

server authentication using SSL

From: <glassfish_at_javadesktop.org>
Date: Mon, 23 Nov 2009 10:53:39 PST

I am trying to establish SSL connection between 2 computers connected by LAN.

For handshaking the steps I have done are:
1)I have generated public/private key pair using keytool and kept it at the server.
2)Then I created a dummy server certificate.
3)Then I imported the dummy server certificate into a public file to be kept at the client.

Now i dont know how to authenticate my server from the client code using the dummy certificate.
Am I missing something?
Your help would be highly appreciated.
[Message sent by forum member 'coffeebeans' ]

http://forums.java.net/jive/thread.jspa?messageID=373031