Created
December 1, 2010 19:13
-
-
Save aldaris/724035 to your computer and use it in GitHub Desktop.
This file contains 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
import java.net.*; | |
/** | |
* Usage: java -Djavax.net.ssl.trustStore=/path/to/cacerts -Djavax.net.ssl.trustStorePassword=changeit HttpsCertChecker | |
*/ | |
public class HttpsCertChecker { | |
public static void main(String[] args) throws Exception { | |
URL url = new URL("https://stewie.sch.bme.hu"); | |
url.openConnection().getInputStream(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment