Thankx David for answering my question
yes you are right i have some doubts.Let me explain my problem
When i tried to download files from secure server it gave me a ssl handshake exception
so what i did is changed my
java code
URLConnection conn = url.openConnection();
HttpsURLConnection connection = (HttpsURLConnection) conn;
Now when i try to access secure server it works fine. All the request and response is also handled well
What i believe(its my assumption, correct me if i am wrong) is that we would require 2 certificates one server has one client should have,which is kept at the client side .I tried to keep this in the cacert file in the security folder.
The reason is I am using Tomcat for
testing purpose.But when i go to verisign certified sign this code may fail.
Please can you solve my doubts .
Thankx again