Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.269 sec ------------- Standard Error ----------------- 16-Dec-2024 17:00:03.764 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 16-Dec-2024 17:00:06.654 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1"] 16-Dec-2024 17:00:07.113 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] 16-Dec-2024 17:00:07.233 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 17:00:07.234 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 17:00:07.547 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-44365"] 16-Dec-2024 17:00:09.273 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-44365"] 16-Dec-2024 17:00:09.276 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 17:00:09.369 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-44365"] 16-Dec-2024 17:00:09.382 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-44365"] 16-Dec-2024 17:00:09.404 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 16-Dec-2024 17:00:09.407 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2"] 16-Dec-2024 17:00:09.413 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] 16-Dec-2024 17:00:09.427 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 17:00:09.427 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 17:00:09.481 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-39389"] 16-Dec-2024 17:00:09.842 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-39389"] 16-Dec-2024 17:00:09.843 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 17:00:09.846 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-39389"] 16-Dec-2024 17:00:09.855 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-39389"] 16-Dec-2024 17:00:09.857 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 16-Dec-2024 17:00:09.860 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3"] 16-Dec-2024 17:00:09.881 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] 16-Dec-2024 17:00:09.881 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 17:00:09.882 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 17:00:09.929 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-44045"] 16-Dec-2024 17:00:10.273 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-44045"] 16-Dec-2024 17:00:10.277 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 17:00:10.288 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-44045"] 16-Dec-2024 17:00:10.301 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-44045"] 16-Dec-2024 17:00:10.303 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 16-Dec-2024 17:00:10.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] 16-Dec-2024 17:00:10.341 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 16-Dec-2024 17:00:10.344 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Dec-2024 17:00:10.345 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4"] 16-Dec-2024 17:00:10.408 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] 16-Dec-2024 17:00:10.409 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 17:00:10.410 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 17:00:10.419 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-45535"] 16-Dec-2024 17:00:10.754 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-45535"] 16-Dec-2024 17:00:10.757 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 17:00:10.781 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-45535"] 16-Dec-2024 17:00:10.790 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-45535"] 16-Dec-2024 17:00:10.909 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 16-Dec-2024 17:00:10.911 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] 16-Dec-2024 17:00:10.912 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 16-Dec-2024 17:00:10.912 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Dec-2024 17:00:10.917 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5"] 16-Dec-2024 17:00:10.921 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] 16-Dec-2024 17:00:10.945 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 17:00:10.945 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 17:00:10.968 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-36791"] 16-Dec-2024 17:00:11.151 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-36791"] 16-Dec-2024 17:00:11.153 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 17:00:11.157 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-36791"] 16-Dec-2024 17:00:11.166 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-36791"] 16-Dec-2024 17:00:11.244 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 16-Dec-2024 17:00:11.246 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] 16-Dec-2024 17:00:11.246 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 16-Dec-2024 17:00:11.247 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Dec-2024 17:00:11.248 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6"] 16-Dec-2024 17:00:11.254 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] 16-Dec-2024 17:00:11.265 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 17:00:11.278 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 17:00:11.331 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-38399"] 16-Dec-2024 17:00:11.566 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-38399"] 16-Dec-2024 17:00:11.568 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 17:00:11.586 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-38399"] 16-Dec-2024 17:00:11.603 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-38399"] 16-Dec-2024 17:00:11.663 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 16-Dec-2024 17:00:12.085 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 16-Dec-2024 17:00:12.086 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7"] 16-Dec-2024 17:00:12.542 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 16-Dec-2024 17:00:12.550 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] 16-Dec-2024 17:00:12.552 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 17:00:12.553 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 17:00:12.585 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-43751"] 16-Dec-2024 17:00:13.030 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-43751"] 16-Dec-2024 17:00:13.032 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 17:00:13.035 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-43751"] 16-Dec-2024 17:00:13.040 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-43751"] 16-Dec-2024 17:00:13.050 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 16-Dec-2024 17:00:13.056 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8"] 16-Dec-2024 17:00:13.087 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] 16-Dec-2024 17:00:13.088 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 17:00:13.088 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 17:00:13.104 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-46029"] 16-Dec-2024 17:00:13.301 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-46029"] 16-Dec-2024 17:00:13.304 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 17:00:13.309 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-46029"] 16-Dec-2024 17:00:13.319 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-46029"] 16-Dec-2024 17:00:13.321 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 16-Dec-2024 17:00:13.323 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9"] 16-Dec-2024 17:00:13.327 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] 16-Dec-2024 17:00:13.327 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 17:00:13.328 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 17:00:13.340 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-43489"] 16-Dec-2024 17:00:13.521 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-43489"] 16-Dec-2024 17:00:13.522 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 17:00:13.526 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-43489"] 16-Dec-2024 17:00:13.538 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-43489"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 5.968 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.454 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.445 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.604 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.335 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.418 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.387 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.27 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.226 sec