Skip to content

Instantly share code, notes, and snippets.

@VenkataRaju
Last active October 3, 2016 11:32
Show Gist options
  • Save VenkataRaju/d8e29c98ae889892eea071baaa8796a7 to your computer and use it in GitHub Desktop.
Save VenkataRaju/d8e29c98ae889892eea071baaa8796a7 to your computer and use it in GitHub Desktop.
Debug Java SSL
package test;
public class Test
{
public static void main(String[] arstring) throws Exception
{
new java.net.URL("https://" + arstring[0] + "/").getContent();
}
}
@VenkataRaju
Copy link
Author

Run:
java -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol -Djavax.net.debug=ssl test.Test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment