mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
18.26.2015 ca669ae54f86dbeea277280690584d9f591c7571
opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/GuiApplication.java
@@ -452,18 +452,15 @@
            "The host is null for the UserDataCertificateException"));
      }
    }
    if (acceptPermanently)
    if (acceptPermanently && chain != null)
    {
      if (chain != null)
      try
      {
        try
        {
          UIKeyStore.acceptCertificate(chain);
        }
        catch (Throwable t)
        {
          logger.warn(LocalizableMessage.raw("Error accepting certificate: "+t, t));
        }
        UIKeyStore.acceptCertificate(chain);
      }
      catch (Throwable t)
      {
        logger.warn(LocalizableMessage.raw("Error accepting certificate: "+t, t));
      }
    }
  }