2011-2013ForgeRock AS setup1 OpenDJ setup install OpenDJ directory server setup options Description This utility can be used to setup the directory server. Options The following options are supported. Indicates whether to create the base entry in the directory server database Port on which the Administration Connector should listen for communication Default value: 4444 Base DN for user information in the directory server. Multiple base DNs may be provided by using this option multiple times Default value: dc=example,dc=com Specifies that the database should be populated with the specified number of sample entries Default value: 0 DN for the initial root user for the directory server Default value: cn=Directory Manager Generate a self-signed certificate that the server should use when accepting SSL-based connections or performing StartTLS negotiation The fully-qualified directory server host name that will be used when generating self-signed certificates for LDAP SSL/StartTLS, the administration connector, and replication Default value: localhost.localdomain Use the command line install. If not specified the graphical interface will be launched. The rest of the options (excluding help and version) will only be taken into account if this option is specified Path to a file containing the password for the initial root user for the directory server Path to an LDIF file containing data that should be added to the directory server database. Multiple LDIF files may be provided by using this option multiple times Nickname of the certificate that the server should use when accepting SSL-based connections or performing StartTLS negotiation Do not start the server when the configuration is completed Port on which the Directory Server should listen for LDAP communication Default value: 389 Enable StartTLS to allow secure communication with the server using the LDAP port Write rejected entries to the specified file Skip the check to determine whether the specified ports are usable Write skipped entries to the specified file Certificate key store PIN file. A PIN is required when you specify to use an existing certificate (JKS, JCEKS, PKCS#12 or PKCS#11) as server certificate Path of a Java Key Store (JKS) containing a certificate to be used as the server certificate Path of a JCEKS containing a certificate to be used as the server certificate Use a certificate in a PKCS#11 token that the server should use when accepting SSL-based connections or performing StartTLS negotiation Path of a PKCS#12 key store containing the certificate that the server should use when accepting SSL-based connections or performing StartTLS negotiation Password for the initial root user for the Directory Server Certificate key store PIN. A PIN is required when you specify to use an existing certificate (JKS, JCEKS, PKCS#12 or PKCS#11) as server certificate Port on which the Directory Server should listen for JMX communication Default value: 1689 Port on which the Directory Server should listen for LDAPS communication. The LDAPS port will be configured and SSL will be enabled only if this argument is explicitly specified Default value: 636 Utility Input/Output Options Use non-interactive mode. If data in the command is missing, the user is not prompted and the tool will fail No properties file will be used to get default command line argument values Path to the file containing default property values used for command line arguments Run setup in quiet mode. Quiet mode will not output progress information to standard output Use verbose mode General Options Display version information Display usage information Exit Codes 0 The command completed successfully. > 0 An error occurred. Examples The following command installs OpenDJ directory server, enabling StartTLS and importing 100 example entries without interaction. $ ./opendj/setup --cli -b dc=example,dc=com -d 100 -D "cn=Directory Manager" -w password -h `hostname` -p 1389 --generateSelfSignedCertificate --enableStartTLS -n OpenDJ Please wait while the setup program initializes... See /var/.../opends-setup-484...561.log for a detailed log of this operation. Configuring Directory Server ..... Done. Configuring Certificates ..... Done. Importing Automatically-Generated Data (100 Entries) ......... Done. Starting Directory Server .......... Done. To see basic server configuration status and configuration you can launch /path/to/opendj/bin/status