On 12/05/2023 17:46, Christopher Schultz wrote:

<snip/>

I'm getting a unit test failure I don't understand:

<snip/>

10-May-2023 22:15:23.192 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-openssl-apr-127.0.0.1-auto-1], TLS virtual host [_default_], certificate type [UNDEFINED] configured from [/home/cschultz/.keystore] using alias [tomcat] and with trust store [/mnt/ephemeral0/cschultz/projects/apache/apache-tomcat/tarball/apache-tomcat-8.5.89-src/test/org/apache/tomcat/util/net/ca-cert.pem]

The test is picking up the wrong keystore. It should be something like:

/mnt/ephemeral0/cschultz/projects/apache/apache-tomcat/tarball/apache-tomcat-8.5.89-src/test/org/apache/tomcat/util/net/localhost-rsa.jks

See the CI logs from the most recent 8.5.x test run for a working example:

https://nightlies.apache.org/tomcat/tomcat-8.5.x/logs/486/TEST-org.apache.tomcat.websocket.TestWsWebSocketContainerSSL.NIO.txt

No idea how you managed to get the test to pick up the wrong keystore.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to