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

dsoumis pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 276452c9e80a564fed4dab338b40f0dc90794480
Author: Dimitris Soumis <[email protected]>
AuthorDate: Fri Oct 30 01:02:52 2026 +0200

    Catch RuntimeException in case of weird provider
---
 java/org/apache/tomcat/util/net/SSLUtilBase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/SSLUtilBase.java 
b/java/org/apache/tomcat/util/net/SSLUtilBase.java
index e4ef3e39d5..1cde87ef74 100644
--- a/java/org/apache/tomcat/util/net/SSLUtilBase.java
+++ b/java/org/apache/tomcat/util/net/SSLUtilBase.java
@@ -539,7 +539,7 @@ public abstract class SSLUtilBase implements SSLUtil {
         List<String> objectIdentifiers;
         try {
             objectIdentifiers = cert.getExtendedKeyUsage();
-        } catch (CertificateParsingException e) {
+        } catch (CertificateParsingException | RuntimeException e) {
             return false;
         }
 


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

Reply via email to