From 8feee36de8e6042f928439b06a03d50018423afe Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 17 Aug 2007 00:53:26 +0000
Subject: [PATCH] The following modifications have the following goals:

---
 opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java b/opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java
index b7b86b3..50537d4 100644
--- a/opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java
+++ b/opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java
@@ -46,6 +46,7 @@
 import org.opends.quicksetup.util.Utils;
 
 import org.opends.messages.Message;
+import org.opends.messages.QuickSetupMessages;
 import static org.opends.messages.AdminToolMessages.*;
 
 /**
@@ -209,7 +210,16 @@
       {
         detail = ne.toString();
       }
-      errorMessage = INFO_ERROR_READING_CONFIG_LDAP.get(detail);
+      if (Utils.isCertificateException(ne))
+      {
+        errorMessage =
+          QuickSetupMessages.INFO_ERROR_READING_CONFIG_LDAP_CERTIFICATE.get(
+              detail);
+      }
+      else
+      {
+        errorMessage = INFO_ERROR_READING_CONFIG_LDAP.get(detail);
+      }
     }
     catch (Throwable t)
     {

--
Gitblit v1.10.0