Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.85 sec ------------- Standard Error ----------------- 27-Nov-2024 17:00:12.013 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 27-Nov-2024 17:00:14.018 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 27-Nov-2024 17:00:14.535 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] 27-Nov-2024 17:00:14.566 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Nov-2024 17:00:14.566 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 27-Nov-2024 17:00:14.729 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-43225"] 27-Nov-2024 17:00:16.031 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-43225"] 27-Nov-2024 17:00:16.033 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Nov-2024 17:00:16.081 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-43225"] 27-Nov-2024 17:00:16.088 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-43225"] 27-Nov-2024 17:00:16.141 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 27-Nov-2024 17:00:16.146 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 27-Nov-2024 17:00:16.241 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] 27-Nov-2024 17:00:16.242 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Nov-2024 17:00:16.243 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 27-Nov-2024 17:00:16.264 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35285"] 27-Nov-2024 17:00:16.417 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35285"] 27-Nov-2024 17:00:16.420 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Nov-2024 17:00:16.425 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35285"] 27-Nov-2024 17:00:16.428 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-35285"] 27-Nov-2024 17:00:16.435 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 27-Nov-2024 17:00:16.453 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 27-Nov-2024 17:00:16.481 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] 27-Nov-2024 17:00:16.483 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Nov-2024 17:00:16.483 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 27-Nov-2024 17:00:16.503 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-37953"] 27-Nov-2024 17:00:16.593 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-37953"] 27-Nov-2024 17:00:16.594 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Nov-2024 17:00:16.597 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-37953"] 27-Nov-2024 17:00:16.598 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-37953"] 27-Nov-2024 17:00:16.603 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 27-Nov-2024 17:00:16.610 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] 27-Nov-2024 17:00:16.611 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 27-Nov-2024 17:00:16.614 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 27-Nov-2024 17:00:16.615 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 27-Nov-2024 17:00:16.689 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] 27-Nov-2024 17:00:16.691 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Nov-2024 17:00:16.692 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 27-Nov-2024 17:00:16.719 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-37639"] 27-Nov-2024 17:00:16.843 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-37639"] 27-Nov-2024 17:00:16.844 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Nov-2024 17:00:16.847 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-37639"] 27-Nov-2024 17:00:16.848 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-37639"] 27-Nov-2024 17:00:16.910 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 27-Nov-2024 17:00:16.912 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] 27-Nov-2024 17:00:16.913 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 27-Nov-2024 17:00:16.913 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 27-Nov-2024 17:00:16.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 27-Nov-2024 17:00:16.945 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] 27-Nov-2024 17:00:16.946 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Nov-2024 17:00:16.946 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 27-Nov-2024 17:00:16.968 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-33227"] 27-Nov-2024 17:00:17.048 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-33227"] 27-Nov-2024 17:00:17.049 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Nov-2024 17:00:17.055 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-33227"] 27-Nov-2024 17:00:17.056 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-33227"] 27-Nov-2024 17:00:17.105 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 27-Nov-2024 17:00:17.109 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] 27-Nov-2024 17:00:17.109 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 27-Nov-2024 17:00:17.109 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 27-Nov-2024 17:00:17.110 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 27-Nov-2024 17:00:17.142 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] 27-Nov-2024 17:00:17.142 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Nov-2024 17:00:17.142 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 27-Nov-2024 17:00:17.172 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-45845"] 27-Nov-2024 17:00:17.259 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-45845"] 27-Nov-2024 17:00:17.263 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Nov-2024 17:00:17.267 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-45845"] 27-Nov-2024 17:00:17.272 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-45845"] 27-Nov-2024 17:00:17.326 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 27-Nov-2024 17:00:17.842 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 27-Nov-2024 17:00:17.845 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7"] 27-Nov-2024 17:00:18.309 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 27-Nov-2024 17:00:18.311 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] 27-Nov-2024 17:00:18.312 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Nov-2024 17:00:18.312 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 27-Nov-2024 17:00:18.318 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-33619"] 27-Nov-2024 17:00:18.676 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-33619"] 27-Nov-2024 17:00:18.677 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Nov-2024 17:00:18.684 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-33619"] 27-Nov-2024 17:00:18.691 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-33619"] 27-Nov-2024 17:00:18.696 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 27-Nov-2024 17:00:18.699 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8"] 27-Nov-2024 17:00:18.812 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] 27-Nov-2024 17:00:18.813 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Nov-2024 17:00:18.813 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 27-Nov-2024 17:00:18.841 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-42245"] 27-Nov-2024 17:00:18.979 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-42245"] 27-Nov-2024 17:00:18.981 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Nov-2024 17:00:18.985 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-42245"] 27-Nov-2024 17:00:18.987 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-42245"] 27-Nov-2024 17:00:19.005 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 27-Nov-2024 17:00:19.008 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9"] 27-Nov-2024 17:00:19.118 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] 27-Nov-2024 17:00:19.119 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Nov-2024 17:00:19.119 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 27-Nov-2024 17:00:19.131 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-41297"] 27-Nov-2024 17:00:19.247 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-41297"] 27-Nov-2024 17:00:19.249 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Nov-2024 17:00:19.254 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-41297"] 27-Nov-2024 17:00:19.263 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-41297"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 4.389 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.293 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.169 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.306 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.194 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.222 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.37 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.308 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.273 sec