Skip to content

Instantly share code, notes, and snippets.

@gregw
Created January 15, 2020 21:10
Show Gist options
  • Save gregw/1a969a8275affdaf938af51514ccb131 to your computer and use it in GitHub Desktop.
Save gregw/1a969a8275affdaf938af51514ccb131 to your computer and use it in GitHub Desktop.
Running org.eclipse.jetty.client.ssl.NeedWantClientAuthTest
[INFO] Running org.eclipse.jetty.client.ssl.NeedWantClientAuthTest
2020-01-15 21:56:01.472:INFO:oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-01-15T20:40:56.447Z; git: d4f72256e7f7e62b163894360960eb1314071009; jvm 13.0.2+8
2020-01-15 21:56:01.484:INFO:oejus.SslContextFactory:main: x509=X509@4d56b7f1(mykey,h=[],w=[]) for Server@6dd65b79[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/keystore.jks,trustStore=null]
2020-01-15 21:56:01.485:INFO:oejs.AbstractConnector:main: Started ServerConnector@759c0c14{SSL,[ssl, http/1.1]}{0.0.0.0:45137}
2020-01-15 21:56:01.485:INFO:oejs.Server:main: Started Server@3e4dabcb{STARTING}[10.0.0-SNAPSHOT] @131855ms
2020-01-15 21:56:01.503:WARN:oejusS.config:main: Trusting all certificates configured for Client@815e8e3[provider=null,keyStore=null,trustStore=null]
2020-01-15 21:56:01.503:WARN:oejusS.config:main: No Client EndPointIdentificationAlgorithm configured for Client@815e8e3[provider=null,keyStore=null,trustStore=null]
2020-01-15 21:56:01.514:INFO:oejs.Server:main: Stopped Server@3e4dabcb{STOPPING}[10.0.0-SNAPSHOT]
2020-01-15 21:56:01.515:INFO:oejs.AbstractConnector:main: Stopped ServerConnector@759c0c14{SSL,[ssl, http/1.1]}{0.0.0.0:0}
2020-01-15 21:56:01.516:INFO:oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-01-15T20:40:56.447Z; git: d4f72256e7f7e62b163894360960eb1314071009; jvm 13.0.2+8
2020-01-15 21:56:01.544:INFO:oejus.SslContextFactory:main: x509=X509@1184b542(mykey,h=[],w=[]) for Server@6bd5ca02[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/keystore.jks,trustStore=null]
2020-01-15 21:56:01.545:INFO:oejs.AbstractConnector:main: Started ServerConnector@23faae85{SSL,[ssl, http/1.1]}{0.0.0.0:39689}
2020-01-15 21:56:01.545:INFO:oejs.Server:main: Started Server@1a48e48e{STARTING}[10.0.0-SNAPSHOT] @131916ms
2020-01-15 21:56:01.553:INFO:oejus.SslContextFactory:main: x509=X509@181cafd(ca,h=[],w=[]) for Client@68f4c6e7[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/client_keystore.jks,trustStore=null]
2020-01-15 21:56:01.556:INFO:oejus.SslContextFactory:main: x509=X509@33bd3549(mykey,h=[],w=[]) for Client@68f4c6e7[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/client_keystore.jks,trustStore=null]
2020-01-15 21:56:01.556:WARN:oejusS.config:main: Trusting all certificates configured for Client@68f4c6e7[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/client_keystore.jks,trustStore=null]
2020-01-15 21:56:01.556:WARN:oejusS.config:main: No Client EndPointIdentificationAlgorithm configured for Client@68f4c6e7[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/client_keystore.jks,trustStore=null]
2020-01-15 21:56:01.591:INFO:oejs.Server:main: Stopped Server@1a48e48e{STOPPING}[10.0.0-SNAPSHOT]
2020-01-15 21:56:01.591:INFO:oejs.AbstractConnector:main: Stopped ServerConnector@23faae85{SSL,[ssl, http/1.1]}{0.0.0.0:0}
2020-01-15 21:56:01.596:INFO:oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-01-15T20:40:56.447Z; git: d4f72256e7f7e62b163894360960eb1314071009; jvm 13.0.2+8
2020-01-15 21:56:01.617:INFO:oejus.SslContextFactory:main: x509=X509@21f4f5d4(mykey,h=[],w=[]) for Server@45488836[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/keystore.jks,trustStore=null]
2020-01-15 21:56:01.618:INFO:oejs.AbstractConnector:main: Started ServerConnector@139f1db4{SSL,[ssl, http/1.1]}{0.0.0.0:43967}
2020-01-15 21:56:01.619:INFO:oejs.Server:main: Started Server@9d573a6{STARTING}[10.0.0-SNAPSHOT] @131989ms
2020-01-15 21:56:01.657:WARN:oejusS.config:main: Trusting all certificates configured for Client@73760b13[provider=null,keyStore=null,trustStore=null]
2020-01-15 21:56:01.657:WARN:oejusS.config:main: No Client EndPointIdentificationAlgorithm configured for Client@73760b13[provider=null,keyStore=null,trustStore=null]
2020-01-15 21:56:01.669:INFO:oejs.Server:main: Stopped Server@9d573a6{STOPPING}[10.0.0-SNAPSHOT]
2020-01-15 21:56:01.671:INFO:oejs.AbstractConnector:main: Stopped ServerConnector@139f1db4{SSL,[ssl, http/1.1]}{0.0.0.0:0}
2020-01-15 21:56:01.672:INFO:oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-01-15T20:40:56.447Z; git: d4f72256e7f7e62b163894360960eb1314071009; jvm 13.0.2+8
2020-01-15 21:56:01.677:INFO:oejus.SslContextFactory:main: x509=X509@3ccca75c(mykey,h=[],w=[]) for Server@5cc5d766[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/keystore.jks,trustStore=null]
2020-01-15 21:56:01.678:INFO:oejs.AbstractConnector:main: Started ServerConnector@750afe12{SSL,[ssl, http/1.1]}{0.0.0.0:45699}
2020-01-15 21:56:01.678:INFO:oejs.Server:main: Started Server@79a1f0a1{STARTING}[10.0.0-SNAPSHOT] @132048ms
2020-01-15 21:56:01.683:INFO:oejus.SslContextFactory:main: x509=X509@4928a347(ca,h=[],w=[]) for Client@1baf1268[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/client_keystore.jks,trustStore=null]
2020-01-15 21:56:01.683:INFO:oejus.SslContextFactory:main: x509=X509@6846e4e8(mykey,h=[],w=[]) for Client@1baf1268[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/client_keystore.jks,trustStore=null]
2020-01-15 21:56:01.684:WARN:oejusS.config:main: Trusting all certificates configured for Client@1baf1268[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/client_keystore.jks,trustStore=null]
2020-01-15 21:56:01.684:WARN:oejusS.config:main: No Client EndPointIdentificationAlgorithm configured for Client@1baf1268[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/client_keystore.jks,trustStore=null]
2020-01-15 21:56:01.700:INFO:oejs.Server:main: Stopped Server@79a1f0a1{STOPPING}[10.0.0-SNAPSHOT]
2020-01-15 21:56:01.700:INFO:oejs.AbstractConnector:main: Stopped ServerConnector@750afe12{SSL,[ssl, http/1.1]}{0.0.0.0:0}
[ERROR] Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.231 s <<< FAILURE! - in org.eclipse.jetty.client.ssl.NeedWantClientAuthTest
[ERROR] org.eclipse.jetty.client.ssl.NeedWantClientAuthTest.testNeedClientAuthWithAuth Time elapsed: 0.075 s <<< ERROR!
java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at org.eclipse.jetty.client@10.0.0-SNAPSHOT/org.eclipse.jetty.client.ssl.NeedWantClientAuthTest.testNeedClientAuthWithAuth(NeedWantClientAuthTest.java:246)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
[ERROR] org.eclipse.jetty.client.ssl.NeedWantClientAuthTest.testWantClientAuthWithAuth Time elapsed: 0.028 s <<< ERROR!
java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at org.eclipse.jetty.client@10.0.0-SNAPSHOT/org.eclipse.jetty.client.ssl.NeedWantClientAuthTest.testWantClientAuthWithAuth(NeedWantClientAuthTest.java:155)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment