Testsuite: org.apache.tomcat.util.net.TestCustomSslTrustManager Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.123 sec ------------- Standard Error ----------------- 06-Nov-2024 14:55:54.925 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[JSSE]] 06-Nov-2024 14:55:56.537 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1"] 06-Nov-2024 14:55:56.864 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio-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] 06-Nov-2024 14:55:56.894 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 14:55:56.895 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 14:55:57.077 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-43955"] 06-Nov-2024 14:55:58.709 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-43955"] 06-Nov-2024 14:55:58.721 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 14:55:58.764 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-43955"] 06-Nov-2024 14:55:58.780 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-1-43955"] 06-Nov-2024 14:55:58.799 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[JSSE]] 06-Nov-2024 14:55:58.803 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2"] 06-Nov-2024 14:55:58.814 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio-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] 06-Nov-2024 14:55:58.815 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 14:55:58.815 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 14:55:58.829 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-37951"] 06-Nov-2024 14:55:59.090 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-37951"] 06-Nov-2024 14:55:59.091 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 14:55:59.096 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-37951"] 06-Nov-2024 14:55:59.100 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-2-37951"] 06-Nov-2024 14:55:59.114 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[JSSE]] 06-Nov-2024 14:55:59.125 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3"] 06-Nov-2024 14:55:59.132 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio-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] 06-Nov-2024 14:55:59.142 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 14:55:59.142 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 14:55:59.151 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-37583"] 06-Nov-2024 14:55:59.424 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-37583"] 06-Nov-2024 14:55:59.425 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 14:55:59.432 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-37583"] 06-Nov-2024 14:55:59.438 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-jsse-nio-127.0.0.1-auto-3-37583"] 06-Nov-2024 14:55:59.446 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL]] 06-Nov-2024 14:55:59.456 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] 06-Nov-2024 14:55:59.479 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 06-Nov-2024 14:55:59.483 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 06-Nov-2024 14:55:59.484 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4"] 06-Nov-2024 14:55:59.514 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio-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] 06-Nov-2024 14:55:59.515 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 14:55:59.515 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 14:55:59.532 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34397"] 06-Nov-2024 14:55:59.750 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34397"] 06-Nov-2024 14:55:59.751 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 14:55:59.773 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34397"] 06-Nov-2024 14:55:59.786 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-4-34397"] 06-Nov-2024 14:55:59.855 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL]] 06-Nov-2024 14:55:59.858 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] 06-Nov-2024 14:55:59.858 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 06-Nov-2024 14:55:59.858 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 06-Nov-2024 14:55:59.860 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5"] 06-Nov-2024 14:55:59.864 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio-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] 06-Nov-2024 14:55:59.865 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 14:55:59.865 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 14:55:59.876 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-43359"] 06-Nov-2024 14:56:00.008 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-43359"] 06-Nov-2024 14:56:00.008 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 14:56:00.018 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-43359"] 06-Nov-2024 14:56:00.031 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-5-43359"] 06-Nov-2024 14:56:00.105 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL]] 06-Nov-2024 14:56:00.108 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] 06-Nov-2024 14:56:00.108 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 06-Nov-2024 14:56:00.109 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 06-Nov-2024 14:56:00.109 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6"] 06-Nov-2024 14:56:00.112 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-nio-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] 06-Nov-2024 14:56:00.117 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 14:56:00.118 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 14:56:00.135 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-37761"] 06-Nov-2024 14:56:00.376 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-37761"] 06-Nov-2024 14:56:00.377 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 14:56:00.387 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-37761"] 06-Nov-2024 14:56:00.407 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-openssl-nio-127.0.0.1-auto-6-37761"] 06-Nov-2024 14:56:00.472 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerNone[OpenSSL-FFM]] 06-Nov-2024 14:56:01.133 INFO [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLLibrary.init OpenSSL successfully initialized using FFM [OpenSSL 1.1.1f 31 Mar 2020] 06-Nov-2024 14:56:01.135 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7"] 06-Nov-2024 14:56:01.531 WARNING [main] org.apache.tomcat.util.net.openssl.panama.OpenSSLContext.init No CA certificates were configured 06-Nov-2024 14:56:01.535 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio-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] 06-Nov-2024 14:56:01.543 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 14:56:01.543 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 14:56:01.571 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-33291"] 06-Nov-2024 14:56:02.007 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-33291"] 06-Nov-2024 14:56:02.015 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 14:56:02.024 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-33291"] 06-Nov-2024 14:56:02.043 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-7-33291"] 06-Nov-2024 14:56:02.046 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerCA[OpenSSL-FFM]] 06-Nov-2024 14:56:02.057 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8"] 06-Nov-2024 14:56:02.104 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio-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] 06-Nov-2024 14:56:02.105 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 14:56:02.105 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 14:56:02.149 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-37715"] 06-Nov-2024 14:56:02.401 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-37715"] 06-Nov-2024 14:56:02.403 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 14:56:02.405 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-37715"] 06-Nov-2024 14:56:02.416 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-8-37715"] 06-Nov-2024 14:56:02.423 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCustomTrustManagerAll[OpenSSL-FFM]] 06-Nov-2024 14:56:02.425 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9"] 06-Nov-2024 14:56:02.449 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-opensslffm-nio-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] 06-Nov-2024 14:56:02.449 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 14:56:02.449 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 14:56:02.474 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-46271"] 06-Nov-2024 14:56:02.685 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-46271"] 06-Nov-2024 14:56:02.704 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 14:56:02.706 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-46271"] 06-Nov-2024 14:56:02.709 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["https-opensslffm-nio-127.0.0.1-auto-9-46271"] ------------- ---------------- --------------- Testcase: testCustomTrustManagerNone[JSSE] took 4.099 sec Testcase: testCustomTrustManagerCA[JSSE] took 0.314 sec Testcase: testCustomTrustManagerAll[JSSE] took 0.331 sec Testcase: testCustomTrustManagerNone[OpenSSL] took 0.41 sec Testcase: testCustomTrustManagerCA[OpenSSL] took 0.25 sec Testcase: testCustomTrustManagerAll[OpenSSL] took 0.365 sec Testcase: testCustomTrustManagerNone[OpenSSL-FFM] took 1.574 sec Testcase: testCustomTrustManagerCA[OpenSSL-FFM] took 0.375 sec Testcase: testCustomTrustManagerAll[OpenSSL-FFM] took 0.29 sec