Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.642 sec ------------- Standard Error ----------------- 28-Oct-2024 22:41:32.190 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 28-Oct-2024 22:41:33.877 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1"] 28-Oct-2024 22:41:34.129 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio-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 [null] 28-Oct-2024 22:41:34.149 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:41:34.149 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:41:34.322 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-40071"] 28-Oct-2024 22:41:35.745 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-40071"] 28-Oct-2024 22:41:35.749 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:41:35.795 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-40071"] 28-Oct-2024 22:41:35.804 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-40071"] 28-Oct-2024 22:41:35.821 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 28-Oct-2024 22:41:35.833 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2"] 28-Oct-2024 22:41:35.838 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio-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 [null] 28-Oct-2024 22:41:35.839 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:41:35.839 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:41:35.872 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-36179"] 28-Oct-2024 22:41:36.137 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-36179"] 28-Oct-2024 22:41:36.142 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:41:36.152 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-36179"] 28-Oct-2024 22:41:36.156 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-36179"] 28-Oct-2024 22:41:36.159 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 28-Oct-2024 22:41:36.162 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3"] 28-Oct-2024 22:41:36.184 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio-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 [null] 28-Oct-2024 22:41:36.189 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:41:36.189 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:41:36.208 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-43307"] 28-Oct-2024 22:41:36.310 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-43307"] 28-Oct-2024 22:41:36.312 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:41:36.331 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-43307"] 28-Oct-2024 22:41:36.344 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-43307"] 28-Oct-2024 22:41:36.347 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 28-Oct-2024 22:41:36.385 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] 28-Oct-2024 22:41:36.393 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 28-Oct-2024 22:41:36.397 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 28-Oct-2024 22:41:36.410 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4"] 28-Oct-2024 22:41:36.457 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio-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 [null] 28-Oct-2024 22:41:36.466 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:41:36.467 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:41:36.481 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34711"] 28-Oct-2024 22:41:36.735 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34711"] 28-Oct-2024 22:41:36.737 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:41:36.758 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34711"] 28-Oct-2024 22:41:36.768 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34711"] 28-Oct-2024 22:41:36.839 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 28-Oct-2024 22:41:36.842 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] 28-Oct-2024 22:41:36.842 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 28-Oct-2024 22:41:36.842 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 28-Oct-2024 22:41:36.847 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5"] 28-Oct-2024 22:41:36.866 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio-127.0.0.1-auto-5], 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 [null] 28-Oct-2024 22:41:36.870 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:41:36.870 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:41:36.904 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-37127"] 28-Oct-2024 22:41:37.169 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-37127"] 28-Oct-2024 22:41:37.170 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:41:37.173 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-37127"] 28-Oct-2024 22:41:37.178 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-37127"] 28-Oct-2024 22:41:37.232 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 28-Oct-2024 22:41:37.234 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] 28-Oct-2024 22:41:37.234 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 28-Oct-2024 22:41:37.235 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 28-Oct-2024 22:41:37.240 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6"] 28-Oct-2024 22:41:37.243 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio-127.0.0.1-auto-6], 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 [null] 28-Oct-2024 22:41:37.243 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:41:37.244 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:41:37.265 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-36437"] 28-Oct-2024 22:41:37.382 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-36437"] 28-Oct-2024 22:41:37.383 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:41:37.392 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-36437"] 28-Oct-2024 22:41:37.406 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-36437"] 28-Oct-2024 22:41:37.493 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 28-Oct-2024 22:41:38.131 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 28-Oct-2024 22:41:38.154 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7"] 28-Oct-2024 22:41:38.617 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 28-Oct-2024 22:41:38.622 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio-127.0.0.1-auto-7], 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 [null] 28-Oct-2024 22:41:38.622 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:41:38.623 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:41:38.643 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-39055"] 28-Oct-2024 22:41:38.936 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-39055"] 28-Oct-2024 22:41:38.938 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:41:38.941 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-39055"] 28-Oct-2024 22:41:38.953 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-39055"] 28-Oct-2024 22:41:38.955 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 28-Oct-2024 22:41:38.957 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8"] 28-Oct-2024 22:41:38.984 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio-127.0.0.1-auto-8], 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 [null] 28-Oct-2024 22:41:38.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:41:38.985 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:41:39.001 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-45433"] 28-Oct-2024 22:41:39.277 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-45433"] 28-Oct-2024 22:41:39.280 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:41:39.283 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-45433"] 28-Oct-2024 22:41:39.293 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-45433"] 28-Oct-2024 22:41:39.300 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 28-Oct-2024 22:41:39.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9"] 28-Oct-2024 22:41:39.320 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio-127.0.0.1-auto-9], 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 [null] 28-Oct-2024 22:41:39.321 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:41:39.321 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:41:39.335 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-34931"] 28-Oct-2024 22:41:39.461 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-34931"] 28-Oct-2024 22:41:39.463 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:41:39.465 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-34931"] 28-Oct-2024 22:41:39.469 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-34931"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.849 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.338 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.187 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.492 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.392 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.261 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.463 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.344 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.17 sec