Este conteúdo não está disponível no idioma selecionado.
Chapter 8. Installing an IdM server or replica with custom Directory Server and certificate authority settings from LDIF and INI files
Simplify large-scale Identity Management (IdM) deployments by using LDIF and INI files to automate server and replica installations. You can ensure consistent environments and reduce manual errors by predefining custom directory server and certificate authority settings.
You can use a configuration file to install an Identity Management (IdM) server or replicas with custom settings for:
- The IdM Directory Server.
- The IdM Certificate Authority.
8.1. Installing an IdM server or replica with custom Directory Server settings from an LDIF file Copiar o linkLink copiado para a área de transferência!
Install Identity Management (IdM) server and replica with custom settings for the Directory Server (DS) to optimize performance and meet specific deployment requirements.
Create an LDAP Data Interchange Format (LDIF) file with the IdM DS settings and pass this file directly into the server and replica installation commands to apply the custom configurations automatically.
Prerequisites
- You have determined custom Directory Server settings that improve the performance of your IdM environment. See Adjusting IdM Directory Server performance.
-
You have
rootprivileges.
Procedure
Create a text file in LDIF format with your custom DS settings. Separate LDAP attribute modifications with a dash (-). This example sets non-default values for the idle timeout and maximum file descriptors.
dn: cn=config changetype: modify replace: nsslapd-idletimeout nsslapd-idletimeout: 1800 - replace: nsslapd-maxdescriptors nsslapd-maxdescriptors: 8192Use the
--dirsrv-config-fileparameter to pass the LDIF file to the installation script.To install an IdM server:
# ipa-server-install --dirsrv-config-file <filename.ldif>To install an IdM replica:
# ipa-replica-install --dirsrv-config-file <filename.ldif>
8.2. Installing an IdM server or replica with custom certificate authority settings from an INI file Copiar o linkLink copiado para a área de transferência!
Install an Identity Management (IdM) server and replica with custom settings for the IdM certificate authority (CA) and Key Recovery Authority (KRA) to meet specific security or operational requirements.
The following procedure describes how to create an INI file containing an override for the CA, and how to pass it to the IdM server and replica installation commands.modules/identity-management/installing-an-idm-server-or-replica-with-custom-directory-server-settings-from-an-ldif-file.adoc
Prerequisites
-
You have
rootprivileges.
Procedure
Create a text file in
INIformat with your custom CA settings. Write each parameter on a new line. This example sets the CA signing key size to 4096 bits.[CA] pki_ca_signing_key_size=4096Use the
--pki-config-overrideparameter to pass the INI file to the installation script.To install an IdM server:
# ipa-server-install --pki-config-override <pkiconfig.ini>To install an IdM replica:
# ipa-replica-install --pki-config-override <pkiconfig.ini>