Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.402 sec ------------- Standard Error ----------------- 02-Dec-2024 19:40:37.115 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 02-Dec-2024 19:40:38.747 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 02-Dec-2024 19:40:39.133 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] 02-Dec-2024 19:40:39.157 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:40:39.158 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:40:39.360 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-33935"] 02-Dec-2024 19:40:40.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-33935"] 02-Dec-2024 19:40:40.611 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:40:40.659 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-33935"] 02-Dec-2024 19:40:40.667 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-33935"] 02-Dec-2024 19:40:40.689 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 02-Dec-2024 19:40:40.712 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 02-Dec-2024 19:40:40.801 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] 02-Dec-2024 19:40:40.802 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:40:40.802 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:40:40.819 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-39209"] 02-Dec-2024 19:40:40.973 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-39209"] 02-Dec-2024 19:40:40.974 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:40:40.977 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-39209"] 02-Dec-2024 19:40:40.979 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-39209"] 02-Dec-2024 19:40:40.999 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 02-Dec-2024 19:40:41.002 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 02-Dec-2024 19:40:41.073 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] 02-Dec-2024 19:40:41.084 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:40:41.084 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:40:41.102 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-34299"] 02-Dec-2024 19:40:41.261 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-34299"] 02-Dec-2024 19:40:41.262 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:40:41.267 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-34299"] 02-Dec-2024 19:40:41.268 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-34299"] 02-Dec-2024 19:40:41.280 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 02-Dec-2024 19:40:41.290 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] 02-Dec-2024 19:40:41.290 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 02-Dec-2024 19:40:41.293 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 02-Dec-2024 19:40:41.294 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 02-Dec-2024 19:40:41.350 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] 02-Dec-2024 19:40:41.356 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:40:41.359 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:40:41.385 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39447"] 02-Dec-2024 19:40:41.549 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39447"] 02-Dec-2024 19:40:41.550 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:40:41.566 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39447"] 02-Dec-2024 19:40:41.567 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39447"] 02-Dec-2024 19:40:41.637 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 02-Dec-2024 19:40:41.640 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] 02-Dec-2024 19:40:41.640 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 02-Dec-2024 19:40:41.645 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 02-Dec-2024 19:40:41.649 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 02-Dec-2024 19:40:41.796 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] 02-Dec-2024 19:40:41.801 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:40:41.802 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:40:41.832 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-36399"] 02-Dec-2024 19:40:41.907 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-36399"] 02-Dec-2024 19:40:41.911 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:40:41.915 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-36399"] 02-Dec-2024 19:40:41.916 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-36399"] 02-Dec-2024 19:40:41.973 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 02-Dec-2024 19:40:41.977 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] 02-Dec-2024 19:40:41.977 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 02-Dec-2024 19:40:41.977 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 02-Dec-2024 19:40:41.978 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 02-Dec-2024 19:40:42.050 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] 02-Dec-2024 19:40:42.050 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:40:42.051 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:40:42.093 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41431"] 02-Dec-2024 19:40:42.169 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41431"] 02-Dec-2024 19:40:42.170 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:40:42.174 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41431"] 02-Dec-2024 19:40:42.174 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41431"] 02-Dec-2024 19:40:42.230 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 02-Dec-2024 19:40:42.613 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 02-Dec-2024 19:40:42.614 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7"] 02-Dec-2024 19:40:43.187 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 02-Dec-2024 19:40:43.190 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] 02-Dec-2024 19:40:43.191 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:40:43.202 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:40:43.233 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-36559"] 02-Dec-2024 19:40:43.622 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-36559"] 02-Dec-2024 19:40:43.626 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:40:43.631 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-36559"] 02-Dec-2024 19:40:43.632 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-36559"] 02-Dec-2024 19:40:43.647 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 02-Dec-2024 19:40:43.649 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8"] 02-Dec-2024 19:40:43.712 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] 02-Dec-2024 19:40:43.713 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:40:43.713 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:40:43.745 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-37055"] 02-Dec-2024 19:40:43.881 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-37055"] 02-Dec-2024 19:40:43.883 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:40:43.885 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-37055"] 02-Dec-2024 19:40:43.887 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-37055"] 02-Dec-2024 19:40:43.893 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 02-Dec-2024 19:40:43.895 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9"] 02-Dec-2024 19:40:43.932 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] 02-Dec-2024 19:40:43.933 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:40:43.933 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:40:43.937 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-35959"] 02-Dec-2024 19:40:44.029 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-35959"] 02-Dec-2024 19:40:44.049 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:40:44.079 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-35959"] 02-Dec-2024 19:40:44.081 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-35959"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.78 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.309 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.272 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.364 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.336 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.257 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.416 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.246 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.198 sec