Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.188 sec ------------- Standard Error ----------------- 25-Oct-2024 22:13:01.981 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 25-Oct-2024 22:13:03.811 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 25-Oct-2024 22:13:04.351 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] 25-Oct-2024 22:13:04.402 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 22:13:04.403 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 22:13:04.576 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-36249"] 25-Oct-2024 22:13:05.947 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-36249"] 25-Oct-2024 22:13:05.949 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 22:13:06.003 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-36249"] 25-Oct-2024 22:13:06.005 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-36249"] 25-Oct-2024 22:13:06.034 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 25-Oct-2024 22:13:06.061 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 25-Oct-2024 22:13:06.134 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] 25-Oct-2024 22:13:06.135 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 22:13:06.135 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 22:13:06.183 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-45691"] 25-Oct-2024 22:13:06.349 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-45691"] 25-Oct-2024 22:13:06.351 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 22:13:06.355 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-45691"] 25-Oct-2024 22:13:06.356 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-45691"] 25-Oct-2024 22:13:06.359 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 25-Oct-2024 22:13:06.362 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 25-Oct-2024 22:13:06.440 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] 25-Oct-2024 22:13:06.441 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 22:13:06.441 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 22:13:06.450 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-33031"] 25-Oct-2024 22:13:06.560 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-33031"] 25-Oct-2024 22:13:06.560 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 22:13:06.571 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-33031"] 25-Oct-2024 22:13:06.572 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-33031"] 25-Oct-2024 22:13:06.583 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 25-Oct-2024 22:13:06.616 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] 25-Oct-2024 22:13:06.626 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 25-Oct-2024 22:13:06.630 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 25-Oct-2024 22:13:06.631 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 25-Oct-2024 22:13:06.722 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] 25-Oct-2024 22:13:06.723 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 22:13:06.723 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 22:13:06.739 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-34883"] 25-Oct-2024 22:13:06.913 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-34883"] 25-Oct-2024 22:13:06.914 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 22:13:06.921 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-34883"] 25-Oct-2024 22:13:06.923 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-34883"] 25-Oct-2024 22:13:06.978 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 25-Oct-2024 22:13:06.981 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] 25-Oct-2024 22:13:06.982 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 25-Oct-2024 22:13:06.982 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 25-Oct-2024 22:13:06.983 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 25-Oct-2024 22:13:07.103 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] 25-Oct-2024 22:13:07.104 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 22:13:07.104 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 22:13:07.131 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-35817"] 25-Oct-2024 22:13:07.221 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-35817"] 25-Oct-2024 22:13:07.222 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 22:13:07.226 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-35817"] 25-Oct-2024 22:13:07.233 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-35817"] 25-Oct-2024 22:13:07.292 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 25-Oct-2024 22:13:07.294 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] 25-Oct-2024 22:13:07.295 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 25-Oct-2024 22:13:07.295 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 25-Oct-2024 22:13:07.296 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 25-Oct-2024 22:13:07.434 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] 25-Oct-2024 22:13:07.435 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 22:13:07.435 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 22:13:07.455 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-42341"] 25-Oct-2024 22:13:07.588 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-42341"] 25-Oct-2024 22:13:07.589 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 22:13:07.593 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-42341"] 25-Oct-2024 22:13:07.602 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-42341"] 25-Oct-2024 22:13:07.696 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 25-Oct-2024 22:13:08.303 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 25-Oct-2024 22:13:08.304 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7"] 25-Oct-2024 22:13:08.829 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 25-Oct-2024 22:13:08.836 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] 25-Oct-2024 22:13:08.837 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 22:13:08.837 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 22:13:08.876 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-39185"] 25-Oct-2024 22:13:09.296 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-39185"] 25-Oct-2024 22:13:09.297 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 22:13:09.306 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-39185"] 25-Oct-2024 22:13:09.308 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-39185"] 25-Oct-2024 22:13:09.315 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 25-Oct-2024 22:13:09.327 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8"] 25-Oct-2024 22:13:09.494 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] 25-Oct-2024 22:13:09.494 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 22:13:09.495 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 22:13:09.505 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-36411"] 25-Oct-2024 22:13:09.600 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-36411"] 25-Oct-2024 22:13:09.601 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 22:13:09.603 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-36411"] 25-Oct-2024 22:13:09.604 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-36411"] 25-Oct-2024 22:13:09.609 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 25-Oct-2024 22:13:09.619 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9"] 25-Oct-2024 22:13:09.714 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] 25-Oct-2024 22:13:09.715 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 22:13:09.715 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 22:13:09.731 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-35025"] 25-Oct-2024 22:13:09.809 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-35025"] 25-Oct-2024 22:13:09.819 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 22:13:09.822 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-35025"] 25-Oct-2024 22:13:09.823 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-35025"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 4.3 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.325 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.218 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.398 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.313 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.404 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.619 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.294 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.221 sec