Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

com.sun.net.ssl.internal.www.protocol

843811Jun 22 2006 — edited Jun 23 2006
Hi,
Iam trying to write a simple program which establishes a HTTPS connections. I was reading an article about it and it said to use:

System.setProperty("java.protocol.handler.pkgs",
"com.sun.net.ssl.internal.www.protocol");

But if I comment out the above, it still works fine. Also I checked all the System properties and didn't find the above being available, but the program still works. Any idea on what above does and why does it work without it?

This is what Program does:
URL url = new URL("https://www.verisign.com");

and then it opens InputStream and reads the HTML code from the page.

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 21 2006
Added on Jun 22 2006
2 comments
496 views