Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.471 sec ------------- Standard Error ----------------- 25-Oct-2024 23:51:51.131 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 25-Oct-2024 23:51:52.767 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1"] 25-Oct-2024 23:51:53.128 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] 25-Oct-2024 23:51:53.167 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:51:53.167 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:51:53.362 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-41437"] 25-Oct-2024 23:51:54.779 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-41437"] 25-Oct-2024 23:51:54.783 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:51:54.853 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-41437"] 25-Oct-2024 23:51:54.859 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-41437"] 25-Oct-2024 23:51:54.896 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 25-Oct-2024 23:51:54.924 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2"] 25-Oct-2024 23:51:54.943 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] 25-Oct-2024 23:51:54.944 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:51:54.945 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:51:54.959 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-42705"] 25-Oct-2024 23:51:55.237 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-42705"] 25-Oct-2024 23:51:55.238 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:51:55.241 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-42705"] 25-Oct-2024 23:51:55.247 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-42705"] 25-Oct-2024 23:51:55.257 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 25-Oct-2024 23:51:55.262 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3"] 25-Oct-2024 23:51:55.273 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] 25-Oct-2024 23:51:55.274 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:51:55.275 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:51:55.313 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-40271"] 25-Oct-2024 23:51:55.484 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-40271"] 25-Oct-2024 23:51:55.487 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:51:55.490 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-40271"] 25-Oct-2024 23:51:55.493 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-40271"] 25-Oct-2024 23:51:55.500 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 25-Oct-2024 23:51:55.519 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] 25-Oct-2024 23:51:55.527 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 25-Oct-2024 23:51:55.530 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 25-Oct-2024 23:51:55.548 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4"] 25-Oct-2024 23:51:55.603 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] 25-Oct-2024 23:51:55.604 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:51:55.604 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:51:55.619 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-35251"] 25-Oct-2024 23:51:55.783 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-35251"] 25-Oct-2024 23:51:55.784 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:51:55.788 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-35251"] 25-Oct-2024 23:51:55.794 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-35251"] 25-Oct-2024 23:51:55.847 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 25-Oct-2024 23:51:55.850 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] 25-Oct-2024 23:51:55.850 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 25-Oct-2024 23:51:55.850 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 25-Oct-2024 23:51:55.852 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5"] 25-Oct-2024 23:51:55.856 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] 25-Oct-2024 23:51:55.860 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:51:55.863 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:51:55.899 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-42683"] 25-Oct-2024 23:51:56.178 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-42683"] 25-Oct-2024 23:51:56.179 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:51:56.182 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-42683"] 25-Oct-2024 23:51:56.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-42683"] 25-Oct-2024 23:51:56.238 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 25-Oct-2024 23:51:56.243 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] 25-Oct-2024 23:51:56.243 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 25-Oct-2024 23:51:56.243 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 25-Oct-2024 23:51:56.245 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6"] 25-Oct-2024 23:51:56.249 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] 25-Oct-2024 23:51:56.254 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:51:56.257 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:51:56.295 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-35061"] 25-Oct-2024 23:51:56.400 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-35061"] 25-Oct-2024 23:51:56.401 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:51:56.405 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-35061"] 25-Oct-2024 23:51:56.410 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-35061"] 25-Oct-2024 23:51:56.492 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 25-Oct-2024 23:51:57.106 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 25-Oct-2024 23:51:57.108 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7"] 25-Oct-2024 23:51:57.442 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 25-Oct-2024 23:51:57.445 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] 25-Oct-2024 23:51:57.447 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:51:57.447 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:51:57.473 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-44317"] 25-Oct-2024 23:51:57.855 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-44317"] 25-Oct-2024 23:51:57.857 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:51:57.860 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-44317"] 25-Oct-2024 23:51:57.863 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-44317"] 25-Oct-2024 23:51:57.866 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 25-Oct-2024 23:51:57.868 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8"] 25-Oct-2024 23:51:57.878 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] 25-Oct-2024 23:51:57.878 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:51:57.878 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:51:57.899 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-43075"] 25-Oct-2024 23:51:58.130 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-43075"] 25-Oct-2024 23:51:58.131 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:51:58.133 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-43075"] 25-Oct-2024 23:51:58.140 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-43075"] 25-Oct-2024 23:51:58.146 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 25-Oct-2024 23:51:58.148 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9"] 25-Oct-2024 23:51:58.153 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] 25-Oct-2024 23:51:58.155 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:51:58.155 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:51:58.169 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-33101"] 25-Oct-2024 23:51:58.379 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-33101"] 25-Oct-2024 23:51:58.380 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:51:58.382 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-33101"] 25-Oct-2024 23:51:58.389 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-33101"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.857 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.36 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.239 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.35 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.39 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.253 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.374 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.281 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.245 sec