Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.642 sec ------------- Standard Error ----------------- 23-Nov-2024 00:55:55.383 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 23-Nov-2024 00:55:56.889 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 23-Nov-2024 00:55:57.492 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] 23-Nov-2024 00:55:57.589 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:55:57.589 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:55:57.732 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-41383"] 23-Nov-2024 00:55:58.882 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-41383"] 23-Nov-2024 00:55:58.886 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:55:58.928 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-41383"] 23-Nov-2024 00:55:58.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-41383"] 23-Nov-2024 00:55:58.952 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 23-Nov-2024 00:55:58.960 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 23-Nov-2024 00:55:59.059 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] 23-Nov-2024 00:55:59.060 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:55:59.060 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:55:59.089 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-34279"] 23-Nov-2024 00:55:59.251 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-34279"] 23-Nov-2024 00:55:59.260 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:55:59.275 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-34279"] 23-Nov-2024 00:55:59.278 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-34279"] 23-Nov-2024 00:55:59.287 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 23-Nov-2024 00:55:59.299 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 23-Nov-2024 00:55:59.357 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] 23-Nov-2024 00:55:59.358 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:55:59.358 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:55:59.374 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-32951"] 23-Nov-2024 00:55:59.493 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-32951"] 23-Nov-2024 00:55:59.496 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:55:59.504 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-32951"] 23-Nov-2024 00:55:59.507 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-32951"] 23-Nov-2024 00:55:59.513 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 23-Nov-2024 00:55:59.561 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] 23-Nov-2024 00:55:59.575 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 23-Nov-2024 00:55:59.579 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 23-Nov-2024 00:55:59.580 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 23-Nov-2024 00:55:59.712 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] 23-Nov-2024 00:55:59.713 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:55:59.713 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:55:59.727 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39033"] 23-Nov-2024 00:55:59.898 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39033"] 23-Nov-2024 00:55:59.899 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:55:59.906 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39033"] 23-Nov-2024 00:55:59.908 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-39033"] 23-Nov-2024 00:55:59.988 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 23-Nov-2024 00:55:59.991 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] 23-Nov-2024 00:55:59.991 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 23-Nov-2024 00:55:59.992 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 23-Nov-2024 00:55:59.993 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 23-Nov-2024 00:56:00.088 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] 23-Nov-2024 00:56:00.089 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:56:00.089 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:56:00.096 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37321"] 23-Nov-2024 00:56:00.185 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37321"] 23-Nov-2024 00:56:00.189 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:56:00.196 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37321"] 23-Nov-2024 00:56:00.206 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37321"] 23-Nov-2024 00:56:00.269 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 23-Nov-2024 00:56:00.272 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] 23-Nov-2024 00:56:00.272 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 23-Nov-2024 00:56:00.272 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 23-Nov-2024 00:56:00.273 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 23-Nov-2024 00:56:00.313 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] 23-Nov-2024 00:56:00.314 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:56:00.314 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:56:00.333 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41731"] 23-Nov-2024 00:56:00.432 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41731"] 23-Nov-2024 00:56:00.434 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:56:00.439 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41731"] 23-Nov-2024 00:56:00.439 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41731"] 23-Nov-2024 00:56:00.509 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 23-Nov-2024 00:56:01.195 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 23-Nov-2024 00:56:01.215 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7"] 23-Nov-2024 00:56:01.723 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 23-Nov-2024 00:56:01.728 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] 23-Nov-2024 00:56:01.729 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:56:01.729 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:56:01.737 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-43909"] 23-Nov-2024 00:56:02.045 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-43909"] 23-Nov-2024 00:56:02.052 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:56:02.057 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-43909"] 23-Nov-2024 00:56:02.060 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-43909"] 23-Nov-2024 00:56:02.082 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 23-Nov-2024 00:56:02.095 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8"] 23-Nov-2024 00:56:02.190 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] 23-Nov-2024 00:56:02.203 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:56:02.203 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:56:02.211 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-33527"] 23-Nov-2024 00:56:02.300 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-33527"] 23-Nov-2024 00:56:02.301 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:56:02.303 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-33527"] 23-Nov-2024 00:56:02.304 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-33527"] 23-Nov-2024 00:56:02.308 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 23-Nov-2024 00:56:02.310 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9"] 23-Nov-2024 00:56:02.446 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] 23-Nov-2024 00:56:02.451 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:56:02.451 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:56:02.456 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-39105"] 23-Nov-2024 00:56:02.546 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-39105"] 23-Nov-2024 00:56:02.546 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:56:02.550 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-39105"] 23-Nov-2024 00:56:02.551 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-39105"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.904 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.334 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.224 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.476 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.281 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.24 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.574 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.225 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.252 sec