Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.661 sec ------------- Standard Error ----------------- 29-Nov-2024 19:27:12.347 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 29-Nov-2024 19:27:14.144 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1"] 29-Nov-2024 19:27:14.700 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] 29-Nov-2024 19:27:14.752 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:27:14.752 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:27:14.864 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-40433"] 29-Nov-2024 19:27:16.077 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-40433"] 29-Nov-2024 19:27:16.080 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:27:16.132 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-40433"] 29-Nov-2024 19:27:16.144 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-40433"] 29-Nov-2024 19:27:16.154 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 29-Nov-2024 19:27:16.200 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2"] 29-Nov-2024 19:27:16.205 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] 29-Nov-2024 19:27:16.209 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:27:16.214 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:27:16.233 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-44475"] 29-Nov-2024 19:27:16.479 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-44475"] 29-Nov-2024 19:27:16.481 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:27:16.484 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-44475"] 29-Nov-2024 19:27:16.488 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-44475"] 29-Nov-2024 19:27:16.490 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 29-Nov-2024 19:27:16.493 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3"] 29-Nov-2024 19:27:16.496 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] 29-Nov-2024 19:27:16.497 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:27:16.499 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:27:16.505 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-44641"] 29-Nov-2024 19:27:16.669 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-44641"] 29-Nov-2024 19:27:16.670 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:27:16.676 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-44641"] 29-Nov-2024 19:27:16.707 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-44641"] 29-Nov-2024 19:27:16.713 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 29-Nov-2024 19:27:16.729 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] 29-Nov-2024 19:27:16.743 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 29-Nov-2024 19:27:16.747 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 29-Nov-2024 19:27:16.762 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4"] 29-Nov-2024 19:27:16.802 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] 29-Nov-2024 19:27:16.804 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:27:16.805 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:27:16.814 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34227"] 29-Nov-2024 19:27:17.054 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34227"] 29-Nov-2024 19:27:17.056 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:27:17.066 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34227"] 29-Nov-2024 19:27:17.078 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34227"] 29-Nov-2024 19:27:17.149 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 29-Nov-2024 19:27:17.156 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] 29-Nov-2024 19:27:17.157 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 29-Nov-2024 19:27:17.157 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 29-Nov-2024 19:27:17.158 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5"] 29-Nov-2024 19:27:17.162 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] 29-Nov-2024 19:27:17.163 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:27:17.163 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:27:17.174 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-44321"] 29-Nov-2024 19:27:17.411 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-44321"] 29-Nov-2024 19:27:17.414 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:27:17.418 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-44321"] 29-Nov-2024 19:27:17.423 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-44321"] 29-Nov-2024 19:27:17.482 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 29-Nov-2024 19:27:17.485 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] 29-Nov-2024 19:27:17.485 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 29-Nov-2024 19:27:17.485 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 29-Nov-2024 19:27:17.486 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6"] 29-Nov-2024 19:27:17.497 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] 29-Nov-2024 19:27:17.497 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:27:17.498 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:27:17.522 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-39431"] 29-Nov-2024 19:27:17.770 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-39431"] 29-Nov-2024 19:27:17.771 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:27:17.775 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-39431"] 29-Nov-2024 19:27:17.791 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-39431"] 29-Nov-2024 19:27:17.861 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 29-Nov-2024 19:27:18.224 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 29-Nov-2024 19:27:18.244 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7"] 29-Nov-2024 19:27:18.545 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 29-Nov-2024 19:27:18.563 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] 29-Nov-2024 19:27:18.564 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:27:18.564 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:27:18.568 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-42787"] 29-Nov-2024 19:27:19.025 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-42787"] 29-Nov-2024 19:27:19.032 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:27:19.039 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-42787"] 29-Nov-2024 19:27:19.058 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-42787"] 29-Nov-2024 19:27:19.062 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 29-Nov-2024 19:27:19.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8"] 29-Nov-2024 19:27:19.119 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] 29-Nov-2024 19:27:19.120 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:27:19.120 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:27:19.155 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-46295"] 29-Nov-2024 19:27:19.443 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-46295"] 29-Nov-2024 19:27:19.444 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:27:19.447 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-46295"] 29-Nov-2024 19:27:19.453 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-46295"] 29-Nov-2024 19:27:19.457 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 29-Nov-2024 19:27:19.459 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9"] 29-Nov-2024 19:27:19.480 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] 29-Nov-2024 19:27:19.480 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:27:19.480 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:27:19.490 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-43347"] 29-Nov-2024 19:27:19.631 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-43347"] 29-Nov-2024 19:27:19.633 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:27:19.636 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-43347"] 29-Nov-2024 19:27:19.640 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-43347"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.985 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.336 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.222 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.435 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.332 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.379 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.202 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.393 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.184 sec