This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new c5dfd66fa3 More explicit message and log at error rather than warning
c5dfd66fa3 is described below

commit c5dfd66fa39025746ffeecc751f06bf7c240fbcd
Author: Mark Thomas <[email protected]>
AuthorDate: Wed May 13 12:30:01 2026 +0100

    More explicit message and log at error rather than warning
    
    Increase visibility as all certificates will be trusted in this
    configuration.
---
 .../catalina/tribes/membership/cloud/AbstractStreamProvider.java | 2 +-
 .../catalina/tribes/membership/cloud/LocalStrings.properties     | 2 +-
 webapps/docs/changelog.xml                                       | 9 +++++++++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git 
a/java/org/apache/catalina/tribes/membership/cloud/AbstractStreamProvider.java 
b/java/org/apache/catalina/tribes/membership/cloud/AbstractStreamProvider.java
index 4add05b8d1..d0efb464e8 100644
--- 
a/java/org/apache/catalina/tribes/membership/cloud/AbstractStreamProvider.java
+++ 
b/java/org/apache/catalina/tribes/membership/cloud/AbstractStreamProvider.java
@@ -184,7 +184,7 @@ public abstract class AbstractStreamProvider implements 
StreamProvider {
                 throw e;
             }
         } else {
-            log.warn(sm.getString("abstractStream.CACertUndefined"));
+            log.error(sm.getString("abstractStream.CACertUndefined"));
             return INSECURE_TRUST_MANAGERS;
         }
     }
diff --git 
a/java/org/apache/catalina/tribes/membership/cloud/LocalStrings.properties 
b/java/org/apache/catalina/tribes/membership/cloud/LocalStrings.properties
index e33117b497..3af508eb2b 100644
--- a/java/org/apache/catalina/tribes/membership/cloud/LocalStrings.properties
+++ b/java/org/apache/catalina/tribes/membership/cloud/LocalStrings.properties
@@ -16,7 +16,7 @@
 # Do not edit this file directly.
 # To edit translations see: 
https://tomcat.apache.org/getinvolved.html#Translations
 
-abstractStream.CACertUndefined=CA cert file undefined
+abstractStream.CACertUndefined=CA cert file undefined. All certificates will 
be trusted.
 abstractStream.connection=[{0}] opening connection: url [{1}], connectTimeout 
[{2}], readTimeout [{3}]
 abstractStream.fileNotFound=CA cert file [{0}] not found
 abstractStream.invalidTimeout=Neither connectTimeout [{0}] nor readTimeout 
[{1}] can be less than 0 for URLConnection
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 04fd13c26d..226eca3972 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -120,6 +120,15 @@
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Cluster">
+    <changelog>
+      <fix>
+        Expand wording and increase visibility of log message when cloud
+        membership is configured without a trust store as all certificates will
+        be trusted in this configuration. (markt)
+      </fix>
+    </changelog>
+  </subsection>
   <subsection name="Web applications">
     <changelog>
       <add>


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

Reply via email to