Skip to content

Instantly share code, notes, and snippets.

@jikuja
Created September 9, 2016 18:04
Show Gist options
  • Save jikuja/816a153f600a018911022eb37e088380 to your computer and use it in GitHub Desktop.
Save jikuja/816a153f600a018911022eb37e088380 to your computer and use it in GitHub Desktop.
$ /c/Program\ Files/Java/jdk1.6.0_45/bin/java -jar build/libs/ssl-test-1.0-SNAPSHOT-all.jar https://libraries.minecraft.net [main] INFO io.github.jikuja.ssltest.SslUtils - Operating System: Windows 7 6.1
[main] INFO io.github.jikuja.ssltest.SslUtils - Java version: 1.6.0_45
[main] INFO io.github.jikuja.ssltest.SslUtils - Java specification: Java Virtual Machine Specification version: 1.0 by Sun Microsystems Inc.
[main] INFO io.github.jikuja.ssltest.SslUtils - Java vm: Java HotSpot(TM) 64-Bit Server VM version: 20.45-b01 by Sun Microsystems Inc.
[main] INFO io.github.jikuja.ssltest.SslUtils - Direct connect
[main] INFO io.github.jikuja.ssltest.SslUtils -
[main] INFO io.github.jikuja.ssltest.SslUtils - Server sent 2 certificate(s):
[main] INFO io.github.jikuja.ssltest.SslUtils -
[main] INFO io.github.jikuja.ssltest.SslUtils - 1 Subject CN=*.minecraft.net, O=Mojang AB, L=Stockholm, ST=Stockholm, C=SE
[main] INFO io.github.jikuja.ssltest.SslUtils - Issuer CN=GeoTrust SSL CA - G3, O=GeoTrust Inc., C=US
[main] INFO io.github.jikuja.ssltest.SslUtils - sha1 13 52 33 76 22 c1 fb b8 35 c7 5b 58 08 a1 6f d7 14 37 17 07
[main] INFO io.github.jikuja.ssltest.SslUtils - md5 99 1f fa c7 c2 e0 66 16 aa 12 83 26 ff 4d cd 8b
[main] INFO io.github.jikuja.ssltest.SslUtils -
[main] INFO io.github.jikuja.ssltest.SslUtils - 2 Subject CN=GeoTrust SSL CA - G3, O=GeoTrust Inc., C=US
[main] INFO io.github.jikuja.ssltest.SslUtils - Issuer CN=GeoTrust Global CA, O=GeoTrust Inc., C=US
[main] INFO io.github.jikuja.ssltest.SslUtils - sha1 5a ea ee 3f 7f 2a 94 49 ce ba fe ec 68 fd d1 84 f2 01 24 a7
[main] INFO io.github.jikuja.ssltest.SslUtils - md5 36 a4 b6 85 9f d7 64 e7 87 ee 42 fd 3a 93 05 db
[main] INFO io.github.jikuja.ssltest.SslUtils -
jikuja@LG MINGW64 /d/projects/ssl-test
$ /c/Program\ Files/Java/jdk1.6.0_45/bin/java -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=8888 -jar build/libs/ssl-test-1.0-SNAPSHOT-all.jar https://libraries.minecraft.net
[main] INFO io.github.jikuja.ssltest.SslUtils - Operating System: Windows 7 6.1
[main] INFO io.github.jikuja.ssltest.SslUtils - Java version: 1.6.0_45
[main] INFO io.github.jikuja.ssltest.SslUtils - Java specification: Java Virtual Machine Specification version: 1.0 by Sun Microsystems Inc.
[main] INFO io.github.jikuja.ssltest.SslUtils - Java vm: Java HotSpot(TM) 64-Bit Server VM version: 20.45-b01 by Sun Microsystems Inc.
[main] INFO io.github.jikuja.ssltest.SslUtils - using proxy
[main] ERROR io.github.jikuja.ssltest.SslUtils - SSL handshake failed. Something might be altering SSL certificates
[main] ERROR io.github.jikuja.ssltest.SslUtils - Certificates are not trusted by JVM certificate chain
[main] ERROR io.github.jikuja.ssltest.SslUtils - Certificate chain will be printed in debug logging level
[main] INFO io.github.jikuja.ssltest.SslUtils -
[main] INFO io.github.jikuja.ssltest.SslUtils - Server sent 2 certificate(s):
[main] INFO io.github.jikuja.ssltest.SslUtils -
[main] INFO io.github.jikuja.ssltest.SslUtils - 1 Subject CN=*.minecraft.net, O=Mojang AB, L=Stockholm, ST=Stockholm, C=SE
[main] INFO io.github.jikuja.ssltest.SslUtils - Issuer C=NZ, ST=Auckland, L=Auckland, O=XK72 Ltd, OU=http://charlesproxy.com/ssl, CN="Charles Proxy Custom Root Certificate (built on LG, 13 syyskuuta 2015)"
[main] INFO io.github.jikuja.ssltest.SslUtils - sha1 a6 1c 13 40 aa b0 a1 c2 df 30 33 f7 56 f6 5e 3f 23 6b 7a 38
[main] INFO io.github.jikuja.ssltest.SslUtils - md5 a1 94 be 3a 7f cf 27 8b a6 22 ef 3a 85 28 b3 5a
[main] INFO io.github.jikuja.ssltest.SslUtils -
[main] INFO io.github.jikuja.ssltest.SslUtils - 2 Subject C=NZ, ST=Auckland, L=Auckland, O=XK72 Ltd, OU=http://charlesproxy.com/ssl, CN="Charles Proxy Custom Root Certificate (built on LG, 13 syyskuuta 2015)"
[main] INFO io.github.jikuja.ssltest.SslUtils - Issuer C=NZ, ST=Auckland, L=Auckland, O=XK72 Ltd, OU=http://charlesproxy.com/ssl, CN="Charles Proxy Custom Root Certificate (built on LG, 13 syyskuuta 2015)"
[main] INFO io.github.jikuja.ssltest.SslUtils - sha1 f2 04 80 31 6e b4 6c ea 6c f9 45 db 60 98 18 d3 64 9e 2d c7
[main] INFO io.github.jikuja.ssltest.SslUtils - md5 34 b4 6d d0 5c 3e b3 e9 aa 61 a9 a1 0e fb 39 a4
[main] INFO io.github.jikuja.ssltest.SslUtils -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment