You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/05/13 11:59:43 UTC

(tomcat) branch 10.1.x updated: More explicit message and log at error rather than warning

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

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


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

commit b2c99122a0169d12a50bee32d3f857628e16d892
Author: Mark Thomas <ma...@apache.org>
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 a2544e1f93..0566ee362e 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -124,6 +124,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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org