Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.453 sec ------------- Standard Error ----------------- 16-Dec-2024 09:17:47.603 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 16-Dec-2024 09:17:49.257 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 16-Dec-2024 09:17:49.732 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 [null] 16-Dec-2024 09:17:49.772 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 09:17:49.772 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 09:17:49.935 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34737"] 16-Dec-2024 09:17:51.043 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34737"] 16-Dec-2024 09:17:51.045 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 09:17:51.104 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34737"] 16-Dec-2024 09:17:51.112 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34737"] 16-Dec-2024 09:17:51.132 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 16-Dec-2024 09:17:51.144 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 16-Dec-2024 09:17:51.235 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 [null] 16-Dec-2024 09:17:51.236 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 09:17:51.236 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 09:17:51.269 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-33771"] 16-Dec-2024 09:17:51.428 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-33771"] 16-Dec-2024 09:17:51.430 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 09:17:51.441 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-33771"] 16-Dec-2024 09:17:51.443 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-33771"] 16-Dec-2024 09:17:51.448 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 16-Dec-2024 09:17:51.462 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 16-Dec-2024 09:17:51.548 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-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 [null] 16-Dec-2024 09:17:51.550 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 09:17:51.550 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 09:17:51.587 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-32783"] 16-Dec-2024 09:17:51.706 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-32783"] 16-Dec-2024 09:17:51.709 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 09:17:51.713 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-32783"] 16-Dec-2024 09:17:51.714 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-32783"] 16-Dec-2024 09:17:51.720 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 16-Dec-2024 09:17:51.736 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 09:17:51.736 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 09:17:51.742 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Dec-2024 09:17:51.753 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 16-Dec-2024 09:17:51.882 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 [null] 16-Dec-2024 09:17:51.883 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 09:17:51.883 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 09:17:51.900 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39413"] 16-Dec-2024 09:17:52.056 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39413"] 16-Dec-2024 09:17:52.063 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 09:17:52.090 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39413"] 16-Dec-2024 09:17:52.092 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39413"] 16-Dec-2024 09:17:52.154 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 16-Dec-2024 09:17:52.158 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 09:17:52.159 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 09:17:52.159 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Dec-2024 09:17:52.160 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 16-Dec-2024 09:17:52.292 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio2-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 09:17:52.293 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 09:17:52.293 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 09:17:52.321 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-38249"] 16-Dec-2024 09:17:52.411 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-38249"] 16-Dec-2024 09:17:52.414 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 09:17:52.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-38249"] 16-Dec-2024 09:17:52.423 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-38249"] 16-Dec-2024 09:17:52.470 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 16-Dec-2024 09:17:52.472 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 09:17:52.472 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 09:17:52.473 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Dec-2024 09:17:52.473 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 16-Dec-2024 09:17:52.488 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio2-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 09:17:52.489 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 09:17:52.489 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 09:17:52.501 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-43837"] 16-Dec-2024 09:17:52.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-43837"] 16-Dec-2024 09:17:52.599 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 09:17:52.605 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-43837"] 16-Dec-2024 09:17:52.609 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-43837"] 16-Dec-2024 09:17:52.674 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 16-Dec-2024 09:17:53.236 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 09:17:53.238 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7"] 16-Dec-2024 09:17:53.746 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 16-Dec-2024 09:17:53.750 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio2-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 09:17:53.751 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 09:17:53.751 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 09:17:53.781 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-44019"] 16-Dec-2024 09:17:54.071 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-44019"] 16-Dec-2024 09:17:54.073 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 09:17:54.076 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-44019"] 16-Dec-2024 09:17:54.083 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-44019"] 16-Dec-2024 09:17:54.092 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 16-Dec-2024 09:17:54.096 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8"] 16-Dec-2024 09:17:54.238 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio2-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 09:17:54.238 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 09:17:54.238 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 09:17:54.259 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-38071"] 16-Dec-2024 09:17:54.361 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-38071"] 16-Dec-2024 09:17:54.362 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 09:17:54.380 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-38071"] 16-Dec-2024 09:17:54.381 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-38071"] 16-Dec-2024 09:17:54.391 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 16-Dec-2024 09:17:54.393 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9"] 16-Dec-2024 09:17:54.473 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio2-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 09:17:54.473 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 09:17:54.473 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 16-Dec-2024 09:17:54.553 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-40175"] 16-Dec-2024 09:17:54.701 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-40175"] 16-Dec-2024 09:17:54.706 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 09:17:54.708 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-40175"] 16-Dec-2024 09:17:54.709 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-40175"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.725 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.316 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.27 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.434 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.316 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.204 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.414 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.302 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.323 sec