Posted By:
attiq_shahzad
Posted On:
Thursday, January 3, 2002 10:18 AM
Dear All, The following code reports the following exception: Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol"); URL verisign = new URL("https://wws2.wa.gov/lni/bbip/backcity.asp"); BufferedReader in = new BufferedReader(new InputStreamReader(verisign.openStream())); javax.net.ssl.SSLException: SSL V2.0 servers are not supported. at java.net.URL.openStream(URL.java:798) at URLReader.main(URLReader.java:26) Help me by identifying the error. But when i use www.verisign.com as a URL. There comes no error. Thanks for the time. attiq.
More>>
Dear All,
The following code reports the following exception:
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
URL verisign = new URL("https://wws2.wa.gov/lni/bbip/backcity.asp");
BufferedReader in = new BufferedReader(new InputStreamReader(verisign.openStream()));
javax.net.ssl.SSLException: SSL V2.0 servers are not supported. at java.net.URL.openStream(URL.java:798) at URLReader.main(URLReader.java:26)
Help me by identifying the error. But when i use www.verisign.com as a URL. There comes no error.
Thanks for the time.
attiq.
<<Less