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

Chris Ridd
07.35.2012 2e5cc09574d41a9e3d00c35bf15ca149595a3ac0
Fix OPENDJ-331 Extend admin certificate validity to match replication certificates
2 files modified
6 ■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/admin/AdministrationConnector.java 4 ●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -4487,7 +4487,7 @@
   */
  private int getSelfSignedCertificateValidity()
  {
    return 2 * 365;
    return 20 * 365;
  }
  /**
opends/src/server/org/opends/server/admin/AdministrationConnector.java
@@ -23,7 +23,7 @@
 *
 *
 *      Copyright 2006-2010 Sun Microsystems, Inc.
 *      Portions copyright 2011 ForgeRock AS
 *      Portions copyright 2011-2012 ForgeRock AS
 */
package org.opends.server.admin;
@@ -89,7 +89,7 @@
  /**
   * Validity (in days) of the generated certificate.
   */
  public static final int ADMIN_CERT_VALIDITY = 2 * 365;
  public static final int ADMIN_CERT_VALIDITY = 20 * 365;
  // Friendly name of the administration connector
  private static final String FRIENDLY_NAME = "Administration Connector";