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

Gaetan Boismal
23.49.2015 c33e4051cd026da6884277ed77ed2f241e398637
OPENDJ-1839 Fix bug introduced by cleanup

* SecurityOptions.java
If no certificate option is used, straight return the SecurityOption object.
1 files modified
5 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java 5 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java
@@ -256,6 +256,11 @@
  public static SecurityOptions createOptionsForCertificatType(CertificateType certType, String keystorePath,
      String keystorePwd, boolean enableSSL, boolean enableStartTLS, int sslPort, String aliasToUse)
  {
      if (certType == CertificateType.NO_CERTIFICATE)
      {
        return createNoCertificateOptions();
      }
      SecurityOptions ops = new SecurityOptions();
      if (keystorePath != null)
      {