Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.658 sec ------------- Standard Error ----------------- 05-Dec-2024 10:02:34.279 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 05-Dec-2024 10:02:35.922 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 05-Dec-2024 10:02:36.561 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] 05-Dec-2024 10:02:36.629 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:02:36.630 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:02:36.827 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-46715"] 05-Dec-2024 10:02:38.108 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-46715"] 05-Dec-2024 10:02:38.112 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:02:38.180 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-46715"] 05-Dec-2024 10:02:38.198 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-46715"] 05-Dec-2024 10:02:38.221 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 05-Dec-2024 10:02:38.228 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 05-Dec-2024 10:02:38.327 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] 05-Dec-2024 10:02:38.328 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:02:38.328 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:02:38.343 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-38975"] 05-Dec-2024 10:02:38.502 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-38975"] 05-Dec-2024 10:02:38.503 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:02:38.508 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-38975"] 05-Dec-2024 10:02:38.510 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-38975"] 05-Dec-2024 10:02:38.514 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 05-Dec-2024 10:02:38.517 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 05-Dec-2024 10:02:38.574 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] 05-Dec-2024 10:02:38.574 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:02:38.574 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:02:38.607 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-35779"] 05-Dec-2024 10:02:38.687 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-35779"] 05-Dec-2024 10:02:38.688 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:02:38.692 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-35779"] 05-Dec-2024 10:02:38.693 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-35779"] 05-Dec-2024 10:02:38.698 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 05-Dec-2024 10:02:38.711 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] 05-Dec-2024 10:02:38.720 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Dec-2024 10:02:38.724 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Dec-2024 10:02:38.725 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 05-Dec-2024 10:02:38.854 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] 05-Dec-2024 10:02:38.855 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:02:38.856 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:02:38.885 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-32945"] 05-Dec-2024 10:02:39.039 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-32945"] 05-Dec-2024 10:02:39.040 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:02:39.043 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-32945"] 05-Dec-2024 10:02:39.044 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-32945"] 05-Dec-2024 10:02:39.137 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 05-Dec-2024 10:02:39.141 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] 05-Dec-2024 10:02:39.141 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Dec-2024 10:02:39.142 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Dec-2024 10:02:39.156 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 05-Dec-2024 10:02:39.230 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] 05-Dec-2024 10:02:39.231 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:02:39.231 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:02:39.246 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-42393"] 05-Dec-2024 10:02:39.339 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-42393"] 05-Dec-2024 10:02:39.342 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:02:39.352 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-42393"] 05-Dec-2024 10:02:39.353 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-42393"] 05-Dec-2024 10:02:39.447 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 05-Dec-2024 10:02:39.453 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] 05-Dec-2024 10:02:39.454 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Dec-2024 10:02:39.454 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Dec-2024 10:02:39.455 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 05-Dec-2024 10:02:39.560 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] 05-Dec-2024 10:02:39.564 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:02:39.565 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:02:39.595 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-35203"] 05-Dec-2024 10:02:39.661 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-35203"] 05-Dec-2024 10:02:39.663 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:02:39.678 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-35203"] 05-Dec-2024 10:02:39.679 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-35203"] 05-Dec-2024 10:02:39.737 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 05-Dec-2024 10:02:40.237 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 05-Dec-2024 10:02:40.244 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7"] 05-Dec-2024 10:02:40.744 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 05-Dec-2024 10:02:40.762 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] 05-Dec-2024 10:02:40.764 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:02:40.765 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:02:40.779 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-34711"] 05-Dec-2024 10:02:41.178 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-34711"] 05-Dec-2024 10:02:41.179 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:02:41.182 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-34711"] 05-Dec-2024 10:02:41.197 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-34711"] 05-Dec-2024 10:02:41.203 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 05-Dec-2024 10:02:41.206 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8"] 05-Dec-2024 10:02:41.245 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] 05-Dec-2024 10:02:41.246 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:02:41.246 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:02:41.276 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-40317"] 05-Dec-2024 10:02:41.383 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-40317"] 05-Dec-2024 10:02:41.384 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:02:41.386 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-40317"] 05-Dec-2024 10:02:41.389 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-40317"] 05-Dec-2024 10:02:41.393 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 05-Dec-2024 10:02:41.395 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9"] 05-Dec-2024 10:02:41.441 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] 05-Dec-2024 10:02:41.442 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:02:41.442 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:02:41.457 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-41073"] 05-Dec-2024 10:02:41.569 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-41073"] 05-Dec-2024 10:02:41.572 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:02:41.574 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-41073"] 05-Dec-2024 10:02:41.576 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-41073"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 4.197 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.297 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.183 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.437 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.31 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.289 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.466 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.189 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.188 sec