Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.925 sec ------------- Standard Error ----------------- 31-Oct-2024 10:46:27.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 31-Oct-2024 10:46:28.980 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 31-Oct-2024 10:46:29.365 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] 31-Oct-2024 10:46:29.418 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 10:46:29.419 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 10:46:29.549 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35861"] 31-Oct-2024 10:46:30.869 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35861"] 31-Oct-2024 10:46:30.880 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 10:46:30.933 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35861"] 31-Oct-2024 10:46:30.939 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-35861"] 31-Oct-2024 10:46:30.953 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 31-Oct-2024 10:46:30.968 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 31-Oct-2024 10:46:31.086 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] 31-Oct-2024 10:46:31.087 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 10:46:31.087 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 10:46:31.123 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36487"] 31-Oct-2024 10:46:31.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36487"] 31-Oct-2024 10:46:31.286 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 10:46:31.289 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36487"] 31-Oct-2024 10:46:31.290 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-36487"] 31-Oct-2024 10:46:31.296 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 31-Oct-2024 10:46:31.304 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 31-Oct-2024 10:46:31.407 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] 31-Oct-2024 10:46:31.410 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 10:46:31.411 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 10:46:31.425 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-37737"] 31-Oct-2024 10:46:31.540 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-37737"] 31-Oct-2024 10:46:31.541 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 10:46:31.544 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-37737"] 31-Oct-2024 10:46:31.545 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-37737"] 31-Oct-2024 10:46:31.551 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 31-Oct-2024 10:46:31.579 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] 31-Oct-2024 10:46:31.582 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 31-Oct-2024 10:46:31.594 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 31-Oct-2024 10:46:31.600 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 31-Oct-2024 10:46:31.670 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] 31-Oct-2024 10:46:31.672 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 10:46:31.673 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 10:46:31.718 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-41955"] 31-Oct-2024 10:46:31.912 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-41955"] 31-Oct-2024 10:46:31.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 10:46:31.939 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-41955"] 31-Oct-2024 10:46:31.943 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-41955"] 31-Oct-2024 10:46:32.015 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 31-Oct-2024 10:46:32.019 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] 31-Oct-2024 10:46:32.019 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 31-Oct-2024 10:46:32.019 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 31-Oct-2024 10:46:32.021 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 31-Oct-2024 10:46:32.140 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] 31-Oct-2024 10:46:32.141 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 10:46:32.141 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 10:46:32.157 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-39849"] 31-Oct-2024 10:46:32.276 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-39849"] 31-Oct-2024 10:46:32.277 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 10:46:32.280 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-39849"] 31-Oct-2024 10:46:32.282 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-39849"] 31-Oct-2024 10:46:32.343 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 31-Oct-2024 10:46:32.346 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] 31-Oct-2024 10:46:32.346 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 31-Oct-2024 10:46:32.346 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 31-Oct-2024 10:46:32.347 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 31-Oct-2024 10:46:32.357 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] 31-Oct-2024 10:46:32.358 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 10:46:32.358 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 10:46:32.405 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-37503"] 31-Oct-2024 10:46:32.511 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-37503"] 31-Oct-2024 10:46:32.512 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 10:46:32.516 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-37503"] 31-Oct-2024 10:46:32.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-37503"] 31-Oct-2024 10:46:32.582 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 31-Oct-2024 10:46:33.126 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 31-Oct-2024 10:46:33.133 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7"] 31-Oct-2024 10:46:33.728 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 31-Oct-2024 10:46:33.732 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] 31-Oct-2024 10:46:33.732 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 10:46:33.733 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 10:46:33.779 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-45489"] 31-Oct-2024 10:46:34.143 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-45489"] 31-Oct-2024 10:46:34.148 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 10:46:34.178 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-45489"] 31-Oct-2024 10:46:34.180 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-45489"] 31-Oct-2024 10:46:34.191 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 31-Oct-2024 10:46:34.203 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8"] 31-Oct-2024 10:46:34.309 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] 31-Oct-2024 10:46:34.309 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 10:46:34.309 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 10:46:34.339 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-36835"] 31-Oct-2024 10:46:34.464 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-36835"] 31-Oct-2024 10:46:34.465 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 10:46:34.469 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-36835"] 31-Oct-2024 10:46:34.470 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-36835"] 31-Oct-2024 10:46:34.486 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 31-Oct-2024 10:46:34.491 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9"] 31-Oct-2024 10:46:34.683 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] 31-Oct-2024 10:46:34.684 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 10:46:34.684 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 10:46:34.688 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-43733"] 31-Oct-2024 10:46:34.775 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-43733"] 31-Oct-2024 10:46:34.778 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 10:46:34.780 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-43733"] 31-Oct-2024 10:46:34.782 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-43733"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.97 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.342 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.255 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.462 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.328 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.239 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.609 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.295 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.301 sec