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 d571cf07b4 Don't mix JSSE and OpenSSL configuration styles - avoids 
warning in logs
d571cf07b4 is described below

commit d571cf07b43868d7c0ebed5d73d802fa315d6604
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Jan 5 17:56:39 2026 +0000

    Don't mix JSSE and OpenSSL configuration styles - avoids warning in logs
    
    There is no need to configure a key store password for a PEM file.
---
 test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java 
b/test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java
index 9290031c4b..46d15e846b 100644
--- a/test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java
+++ b/test/org/apache/tomcat/util/net/TestSSLHostConfigCompat.java
@@ -254,7 +254,6 @@ 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.setCertificateKeystorePassword(TesterSupport.JKS_PASS);
                 sslHostConfig.addCertificate(sslHostConfigCertificateRsa);
                 break;
             }
@@ -276,7 +275,6 @@ public class TestSSLHostConfigCompat extends TomcatBaseTest 
{
                 SSLHostConfigCertificate sslHostConfigCertificateEc = new 
SSLHostConfigCertificate(sslHostConfig, Type.EC);
                 
sslHostConfigCertificateEc.setCertificateFile(getPath(TesterSupport.LOCALHOST_EC_CERT_PEM));
                 
sslHostConfigCertificateEc.setCertificateKeyFile(getPath(TesterSupport.LOCALHOST_EC_KEY_PEM));
-                
sslHostConfigCertificateEc.setCertificateKeyPassword(TesterSupport.JKS_PASS);
                 sslHostConfig.addCertificate(sslHostConfigCertificateEc);
                 break;
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to