Last active
October 3, 2016 11:32
-
-
Save VenkataRaju/d8e29c98ae889892eea071baaa8796a7 to your computer and use it in GitHub Desktop.
Debug Java SSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
public class Test | |
{ | |
public static void main(String[] arstring) throws Exception | |
{ | |
new java.net.URL("https://" + arstring[0] + "/").getContent(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run:
java -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol -Djavax.net.debug=ssl test.Test