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

Jean-Noel Rouvignac
21.09.2014 28304990c1d610197a8894a2a7c878de46c7318b
opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/PromptingTrustManager.java
@@ -285,8 +285,7 @@
                    onDiskTrustStore.setCertificateEntry(alias, aChain);
                }
            } catch (final Exception e) {
                LOG.warn(LocalizableMessage.raw("Error setting certificate to store: " + e + "\nCert: "
                        + aChain.toString()));
                LOG.warn(LocalizableMessage.raw("Error setting certificate to store: " + e + "\nCert: " + aChain));
            }
        }
@@ -374,9 +373,8 @@
            case UNTRUSTED:
                if (exception instanceof CertificateException) {
                    throw (CertificateException) exception;
                } else {
                    throw new CertificateException(exception);
                }
                throw new CertificateException(exception);
            case CERTIFICATE_DETAILS:
                for (final X509Certificate aChain : chain) {
                    app.println();