Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.437 sec ------------- Standard Error ----------------- 29-Nov-2024 19:41:58.293 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 29-Nov-2024 19:41:59.841 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1"] 29-Nov-2024 19:42:00.336 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] 29-Nov-2024 19:42:00.391 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:42:00.391 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:42:00.630 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34751"] 29-Nov-2024 19:42:01.954 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34751"] 29-Nov-2024 19:42:01.963 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:42:02.015 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34751"] 29-Nov-2024 19:42:02.031 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-1-34751"] 29-Nov-2024 19:42:02.040 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 29-Nov-2024 19:42:02.057 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2"] 29-Nov-2024 19:42:02.154 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] 29-Nov-2024 19:42:02.155 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:42:02.155 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:42:02.171 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-38635"] 29-Nov-2024 19:42:02.306 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-38635"] 29-Nov-2024 19:42:02.315 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:42:02.322 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-38635"] 29-Nov-2024 19:42:02.324 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-2-38635"] 29-Nov-2024 19:42:02.330 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 29-Nov-2024 19:42:02.344 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3"] 29-Nov-2024 19:42:02.390 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] 29-Nov-2024 19:42:02.392 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:42:02.392 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:42:02.413 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-35407"] 29-Nov-2024 19:42:02.526 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-35407"] 29-Nov-2024 19:42:02.527 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:42:02.531 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-35407"] 29-Nov-2024 19:42:02.540 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio2-127.0.0.1-auto-3-35407"] 29-Nov-2024 19:42:02.544 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 29-Nov-2024 19:42:02.564 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] 29-Nov-2024 19:42:02.571 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 29-Nov-2024 19:42:02.574 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 29-Nov-2024 19:42:02.580 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4"] 29-Nov-2024 19:42:02.699 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] 29-Nov-2024 19:42:02.700 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:42:02.727 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:42:02.741 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-36809"] 29-Nov-2024 19:42:02.888 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-36809"] 29-Nov-2024 19:42:02.890 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:42:02.916 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-36809"] 29-Nov-2024 19:42:02.916 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-4-36809"] 29-Nov-2024 19:42:02.978 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 29-Nov-2024 19:42:02.982 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] 29-Nov-2024 19:42:02.982 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 29-Nov-2024 19:42:02.983 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 29-Nov-2024 19:42:02.986 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5"] 29-Nov-2024 19:42:03.096 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] 29-Nov-2024 19:42:03.097 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:42:03.097 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:42:03.113 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37455"] 29-Nov-2024 19:42:03.225 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37455"] 29-Nov-2024 19:42:03.226 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:42:03.231 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37455"] 29-Nov-2024 19:42:03.239 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-5-37455"] 29-Nov-2024 19:42:03.318 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 29-Nov-2024 19:42:03.321 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] 29-Nov-2024 19:42:03.321 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 29-Nov-2024 19:42:03.321 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 29-Nov-2024 19:42:03.322 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6"] 29-Nov-2024 19:42:03.404 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] 29-Nov-2024 19:42:03.405 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:42:03.405 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:42:03.410 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41097"] 29-Nov-2024 19:42:03.462 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41097"] 29-Nov-2024 19:42:03.465 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:42:03.471 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41097"] 29-Nov-2024 19:42:03.474 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio2-127.0.0.1-auto-6-41097"] 29-Nov-2024 19:42:03.516 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 29-Nov-2024 19:42:04.001 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 29-Nov-2024 19:42:04.008 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7"] 29-Nov-2024 19:42:04.561 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 29-Nov-2024 19:42:04.569 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] 29-Nov-2024 19:42:04.570 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:42:04.570 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:42:04.602 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-43015"] 29-Nov-2024 19:42:04.937 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-43015"] 29-Nov-2024 19:42:04.938 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:42:04.944 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-43015"] 29-Nov-2024 19:42:04.946 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-7-43015"] 29-Nov-2024 19:42:04.970 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 29-Nov-2024 19:42:04.972 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8"] 29-Nov-2024 19:42:05.036 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] 29-Nov-2024 19:42:05.036 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:42:05.037 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:42:05.068 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-43483"] 29-Nov-2024 19:42:05.184 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-43483"] 29-Nov-2024 19:42:05.185 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:42:05.187 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-43483"] 29-Nov-2024 19:42:05.189 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-8-43483"] 29-Nov-2024 19:42:05.207 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 29-Nov-2024 19:42:05.212 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9"] 29-Nov-2024 19:42:05.322 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] 29-Nov-2024 19:42:05.323 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:42:05.323 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:42:05.331 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-43729"] 29-Nov-2024 19:42:05.420 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-43729"] 29-Nov-2024 19:42:05.421 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:42:05.427 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-43729"] 29-Nov-2024 19:42:05.429 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio2-127.0.0.1-auto-9-43729"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 3.932 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.289 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.214 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.432 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.34 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.197 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.454 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.233 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.238 sec