Testsuite: org.apache.tomcat.util.net.TestClientCertTls13 Tests run: 6, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 6.77 sec ------------- Standard Error ----------------- 02-Feb-2024 13:30:00.360 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testClientCertPost[JSSE]] 02-Feb-2024 13:30:02.739 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 02-Feb-2024 13:30:03.463 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio2-127.0.0.1-auto-1], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/ca.jks] 02-Feb-2024 13:30:03.548 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:30:03.570 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 02-Feb-2024 13:30:03.883 WARNING [main] org.apache.catalina.authenticator.SSLAuthenticator.startInternal The context [] in virtual host [localhost] is configured to use CLIENT-CERT authentication and [Connector["https-jsse-nio2-127.0.0.1-auto-1-34457"]] is configured to support TLS 1.3 using JSSE. Use of CLIENT-CERT authentication is not compatible with the use of TLS 1.3 and JSSE. 02-Feb-2024 13:30:03.944 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34457"] 02-Feb-2024 13:30:05.313 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34457"] 02-Feb-2024 13:30:05.316 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:30:05.390 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34457"] 02-Feb-2024 13:30:05.407 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34457"] 02-Feb-2024 13:30:05.430 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testClientCertGet[JSSE]] 02-Feb-2024 13:30:05.446 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 02-Feb-2024 13:30:05.639 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio2-127.0.0.1-auto-2], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/ca.jks] 02-Feb-2024 13:30:05.643 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:30:05.643 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 02-Feb-2024 13:30:05.668 WARNING [main] org.apache.catalina.authenticator.SSLAuthenticator.startInternal The context [] in virtual host [localhost] is configured to use CLIENT-CERT authentication and [Connector["https-jsse-nio2-127.0.0.1-auto-2-35971"]] is configured to support TLS 1.3 using JSSE. Use of CLIENT-CERT authentication is not compatible with the use of TLS 1.3 and JSSE. 02-Feb-2024 13:30:05.677 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35971"] 02-Feb-2024 13:30:05.884 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35971"] 02-Feb-2024 13:30:05.885 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:30:05.888 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35971"] 02-Feb-2024 13:30:05.888 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35971"] 02-Feb-2024 13:30:05.900 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testClientCertPost[OpenSSL]] 02-Feb-2024 13:30:05.932 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5] 02-Feb-2024 13:30:05.932 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 02-Feb-2024 13:30:05.937 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 02-Feb-2024 13:30:05.938 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-3"] 02-Feb-2024 13:30:06.109 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio2-127.0.0.1-auto-3], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/ca.jks] 02-Feb-2024 13:30:06.126 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:30:06.126 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 02-Feb-2024 13:30:06.174 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-3-43047"] 02-Feb-2024 13:30:06.288 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-3-43047"] 02-Feb-2024 13:30:06.290 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:30:06.292 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-3-43047"] 02-Feb-2024 13:30:06.297 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-3-43047"] 02-Feb-2024 13:30:06.310 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testClientCertGet[OpenSSL]] 02-Feb-2024 13:30:06.312 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5] 02-Feb-2024 13:30:06.322 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 02-Feb-2024 13:30:06.322 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 02-Feb-2024 13:30:06.323 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 02-Feb-2024 13:30:06.441 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio2-127.0.0.1-auto-4], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/localhost-rsa.jks] using alias [tomcat] with trust store [/home/buildslave/slave/tomcat-11.0.x/build/test/org/apache/tomcat/util/net/ca.jks] 02-Feb-2024 13:30:06.442 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:30:06.442 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 02-Feb-2024 13:30:06.458 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-33217"] 02-Feb-2024 13:30:06.566 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-33217"] 02-Feb-2024 13:30:06.569 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:30:06.572 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-33217"] 02-Feb-2024 13:30:06.573 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-33217"] 02-Feb-2024 13:30:06.578 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testClientCertPost[OpenSSL-FFM]] 02-Feb-2024 13:30:06.734 SEVERE [main] org.apache.catalina.core.OpenSSLLifecycleListener.isAvailable OpenSSL initialization failed java.lang.UnsatisfiedLinkError: no ssl in java.library.path: /home/buildslave/slave/tomcat-9.0.x/basepath/tomcat-native-1.2.38-bin/lib:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2439) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:916) at java.base/java.lang.System.loadLibrary(System.java:2063) at org.apache.tomcat.util.openssl.openssl_h.(openssl_h.java:36) at org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.initLibrary(OpenSSLLibrary.java:84) at org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init(OpenSSLLibrary.java:174) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.apache.catalina.core.OpenSSLLifecycleListener.isAvailable(OpenSSLLifecycleListener.java:59) at org.apache.tomcat.util.net.TesterSupport.configureSSLImplementation(TesterSupport.java:251) at org.apache.tomcat.util.net.TestClientCertTls13.setUp(TestClientCertTls13.java:110) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) 02-Feb-2024 13:30:06.736 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-5"] 02-Feb-2024 13:30:06.767 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testClientCertGet[OpenSSL-FFM]] 02-Feb-2024 13:30:06.789 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-6"] ------------- ---------------- --------------- Testcase: testClientCertPost[JSSE] took 5.331 sec Testcase: testClientCertGet[JSSE] took 0.471 sec Testcase: testClientCertPost[OpenSSL] took 0.402 sec Testcase: testClientCertGet[OpenSSL] took 0.276 sec Testcase: testClientCertPost[OpenSSL-FFM] took 0.189 sec SKIPPED: got: , expected: is Testcase: testClientCertPost[OpenSSL-FFM] took 0.189 sec Testcase: testClientCertGet[OpenSSL-FFM] took 0.036 sec SKIPPED: got: , expected: is Testcase: testClientCertGet[OpenSSL-FFM] took 0.036 sec