server authentication using SSL
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.