[Swift-commit] cog r3450

swift at ci.uchicago.edu swift at ci.uchicago.edu
Wed Aug 8 20:45:04 CDT 2012


------------------------------------------------------------------------
r3450 | hategan | 2012-08-08 20:40:42 -0500 (Wed, 08 Aug 2012) | 1 line

changed info to warn; you shouldn't get this far with an untrusted CA
------------------------------------------------------------------------
Index: modules/provider-ssh/src/org/globus/cog/abstraction/impl/ssh/execution/ProxyForwardingManager.java
===================================================================
--- modules/provider-ssh/src/org/globus/cog/abstraction/impl/ssh/execution/ProxyForwardingManager.java	(revision 3449)
+++ modules/provider-ssh/src/org/globus/cog/abstraction/impl/ssh/execution/ProxyForwardingManager.java	(working copy)
@@ -167,11 +167,11 @@
                 
                 X509Certificate caCert = tc.getCertificate(userCert.getIssuerDN().getName());
                 if (caCert == null) {
-                    logger.info("Cannot find root CA certificate for proxy");
-                    logger.info("DNs of trusted certificates:");
+                    logger.warn("Cannot find root CA certificate for proxy");
+                    logger.warn("DNs of trusted certificates:");
                     X509Certificate[] roots = tc.getCertificates();
                     for (X509Certificate root : roots) {
-                        logger.info("\t" + root.getSubjectDN());
+                        logger.warn("\t" + root.getSubjectDN());
                     }
                     throw new InvalidSecurityContextException("Failed to find root CA certificate (" + userCert.getIssuerDN().getName() + ")");
                 }



More information about the Swift-commit mailing list