Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic untrusted server cert chain

sunil virup
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone.
I have recently started working on SSL.All I did was configured my Tomcat4.0 to handle SSL by generating a certificate according to its specification.
But when I try to access "Https" through an application whose source code, I have given below I get " untrusted server cert chain"
Exception.Can any one please help me find a solution to this problem.
The code is
public class URLReader
public static void main(String[] args) throws Exception
String inputLine;
URL verisign = new URL("https://localhost:8443/");
BufferedReader in = new BufferedReader(new InputStreamReader(verisign.openStream()));
while ((inputLine = in.readLine()) != null)
And also can any one help me to set up the Server ID that verisign gives free on trial basis on Tomcat4.0.
Expecting replies.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic