This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 5de4207d5e Better fix for mix of JSSE and OpenSSL config styles
5de4207d5e is described below
commit 5de4207d5eb747c5c9b1bb8a7d37b37261e5c389
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Dec 8 13:15:29 2025 +0000
Better fix for mix of JSSE and OpenSSL config styles
Use the OpenSSL setter for key password.
---
test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java
b/test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java
index 46d15e846b..86e94b59e6 100644
--- a/test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java
+++ b/test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java
@@ -254,6 +254,7 @@ public class TestSSLHostConfigCompat extends TomcatBaseTest
{
SSLHostConfigCertificate sslHostConfigCertificateRsa = new
SSLHostConfigCertificate(sslHostConfig, Type.RSA);
sslHostConfigCertificateRsa.setCertificateFile(getPath(TesterSupport.LOCALHOST_RSA_CERT_PEM));
sslHostConfigCertificateRsa.setCertificateKeyFile(getPath(TesterSupport.LOCALHOST_RSA_KEY_PEM));
+
sslHostConfigCertificateRsa.setCertificateKeyPassword(TesterSupport.JKS_PASS);
sslHostConfig.addCertificate(sslHostConfigCertificateRsa);
break;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]