ipa-server-install(1)
๐ ipa-server-install โ IPA Manual Pages ๐
okay bestie, gather round, because this is the big one. this is the manual page for ipa-server-install, from the IPA Manual Pages, and it's giving main character energy fr fr. buckle up. ๐
โจ NAME โจ
ipa-server-install โ Configure an IPA server. yes that's it. that's the whole vibe. you're setting up an IPA server. slay.
โจ SYNOPSIS โจ
ipa-server-install [OPTION]...
literally just the command plus whatever options your heart desires. ๐
โจ DESCRIPTION โจ
so what does this thing actually do? it configures all the services an IPA server needs. that means:
- setting up a Kerberos Key Distribution Center (KDC) and a Kadmin daemon with an LDAP back-end ๐ซ
- configuring Apache ๐
- configuring NTP โฐ
- optionally configuring and starting an LDAP-backed DNS server ๐
- and by default, a dogtag-based CA gets configured to issue server certificates ๐
it's a whole glow-up for your server. one command, many services, no cap.
โจ OPTIONS โจ
๐ธ BASIC OPTIONS ๐ธ
-r REALM_NAME,--realm=REALM_NAMEโ the Kerberos realm name for your new IPA deployment.
it is strongly recommended to use an upper-cased version of the primary DNS domain name of your IPA deployment. and listen, you will not be able to establish trust with Active Directory unless the realm name is the upper-cased domain name. like, that's just the rules. also: the realm name cannot be changed after the installation. so choose wisely, bestie. ๐
-n DOMAIN_NAME,--domain=DOMAIN_NAMEโ the primary DNS domain of the IPA deployment, e.g.example.com. this DNS domain should contain the SRV records generated by the IPA server installer. and important: the specified DNS domain must not contain DNS records of any other LDAP or Kerberos based management system (like Active Directory or MIT Kerberos). not sharing, sorry.
strongly recommended: use a lower-cased name of the IPA Kerberos realm name. the primary DNS domain name cannot be changed after the installation. periodt. ๐
-p DM_PASSWORD,--ds-password=DM_PASSWORDโ the password to be used by the Directory Server for the Directory Manager user. ๐-a ADMIN_PASSWORD,--admin-password=ADMIN_PASSWORDโ the password for the IPA admin user. ๐--mkhomedirโ create home directories for users on their first login. cozy. ๐--hostname=HOST_NAMEโ the fully-qualified DNS name of this server. ๐ฆ--ip-address=IP_ADDRESSโ the IP address of this server. if this address does not match the address the host resolves to and--setup-dnsis not selected, the installation will fail. ๐ญ if the server hostname is not resolvable, a record for the hostname andIP_ADDRESSis added to/etc/hosts. this option can be used multiple times to specify more IP addresses of the server (e.g. multihomed and/or dualstacked server). so extra, so iconic.
Configure chronyd to use this NTP server. This option can be used multiple times and it is used to specify exactly one time server.
--ntp-server=NTP_SERVERโ configure chronyd to use this NTP server. this option can be used multiple times and it is used to specify exactly one time server. โฐ--ntp-pool=NTP_SERVER_POOLโ configure chronyd to use this NTP server pool. this option is meant to be a pool of multiple servers resolved as one host name. the pool's servers may vary but the pool address will still be the same, and chrony will choose only one server from this pool. it's giving โจdelegationโจ.-N,--no-ntpโ do not configure the NTP client (chronyd). bye bye time sync ๐--idstart=IDSTARTโ the starting user and group id number (default random). ๐ฒ--idmax=IDMAXโ the maximum user and group id number (default:idstart+199999). if set to zero, the default value will be used. ๐งฎ--no-hbac-allowโ don't install theallow_allHBAC rule. that rule lets any user from any host access any service on any other host. it is expected that users will remove this rule before moving to production. so like, it's a starter rule, not a forever rule. ๐--ignore-topology-disconnectโ ignore errors reported when IPA server uninstall would lead to a disconnected topology. ๐ธ๏ธ--ignore-last-of-roleโ ignore errors reported when IPA server uninstall would lead to removal of the last CA/DNS server or DNSSec master. โ ๏ธ--no-ui-redirectโ do not automatically redirect to the Web UI. ๐ซ--ssh-trust-dnsโ configure OpenSSH client to trust DNS SSHFP records. ๐--no-sshโ do not configure the OpenSSH client. ๐--no-sshdโ do not configure the OpenSSH server. ๐--subidโ configure SSSD as data source for subid. ๐--skip-mem-checkโ skip checking for minimum required memory. living dangerously, love that for you ๐-d,--debugโ enable debug logging when more verbose output is needed. ๐-U,--unattendedโ an unattended installation that will never prompt for user input. perfect for when you're not there. set it and forget it. ๐ค--dirsrv-config-fileโ the path to the LDIF file that will be used to modify configuration ofdse.ldifduring installation of the directory server instance. ๐
๐ CERTIFICATE SYSTEM OPTIONS ๐
--external-caโ generate a CSR for the IPA CA certificate to be signed by an external CA. handing off the signing, very collaborative of you ๐ซถ--external-ca-type=TYPEโ type of the external CA. possible values are"generic"and"ms-cs". default value is"generic". use"ms-cs"to include the template name required by Microsoft Certificate Services (MS CS) in the generated CSR (see--external-ca-profilefor full details). ๐ข--external-ca-profile=PROFILE_SPECโ specify the certificate profile or template to use at the external CA. when--external-ca-typeis"ms-cs"the following specifiers may be used:<oid>:<majorVersion>[:<minorVersion>]โ specify a certificate template by OID and major version, optionally also specifying minor version.<name>โ specify a certificate template by name. the name cannot contain any:characters and cannot be an OID (otherwise the OID-based template specifier syntax takes precedence).defaultโ if no template is specified, the template name"SubCA"is used. ๐ธ
--external-cert-file=FILEโ file containing the IPA CA certificate and the external CA certificate chain. the file is accepted in PEM and DER certificate and PKCS#7 certificate chain formats. this option may be used multiple times. ๐--random-serial-numbersโ enable Random Serial Numbers (RSN) and certificate pruning. this option is enabled by default if the system is installed with a389-dsversion that supports LMDB, or if another CA in the topology is configured with Random Serial Numbers. this option remains present to avoid issues with automation. in mixed environments where existing CA servers are configured with sequential numbers, it is recommended to replace the sequential servers as soon as reasonably possible. ๐ข--no-pkinitโ disables pkinit setup steps. ๐--dirsrv-cert-file=FILEโ file containing the Directory Server SSL certificate and private key. the files are accepted in PEM and DER certificate, PKCS#7 certificate chain, PKCS#8 and raw private key and PKCS#12 formats. this option may be used multiple times. ๐--http-cert-file=FILEโ file containing the Apache Server SSL certificate and private key. the files are accepted in PEM and DER certificate, PKCS#7 certificate chain, PKCS#8 and raw private key and PKCS#12 formats. this option may be used multiple times. ๐--pkinit-cert-file=FILEโ file containing the Kerberos KDC SSL certificate and private key. the files are accepted in PEM and DER certificate, PKCS#7 certificate chain, PKCS#8 and raw private key and PKCS#12 formats. this option may be used multiple times. ๐ซ--dirsrv-pin=PINโ the password to unlock the Directory Server private key. ๐--http-pin=PINโ the password to unlock the Apache Server private key. ๐--pkinit-pin=PINโ the password to unlock the Kerberos KDC private key. ๐--dirsrv-cert-name=NAMEโ name of the Directory Server SSL certificate to install. ๐ท๏ธ--http-cert-name=NAMEโ name of the Apache Server SSL certificate to install. ๐ท๏ธ--pkinit-cert-name=NAMEโ name of the Kerberos KDC SSL certificate to install. ๐ท๏ธ--ca-cert-file=FILEโ file containing the CA certificate of the CA which issued the Directory Server, Apache Server and Kerberos KDC certificates. the file is accepted in PEM and DER certificate and PKCS#7 certificate chain formats. this option may be used multiple times. use this option if the CA certificate is not present in the certificate files. ๐--pki-config-override=FILEโ file containing overrides for CA and KRA installation. ๐ ๏ธ--ca-subject=SUBJECTโ the CA certificate subject DN (defaultCN=Certificate Authority,O=REALM.NAME). RDNs are in LDAP order (most specific RDN first). ๐--subject-base=SUBJECTโ the subject base for certificates issued by IPA (defaultO=REALM.NAME). RDNs are in LDAP order (most specific RDN first). ๐--ca-signing-algorithm=ALGORITHMโ signing algorithm of the IPA CA certificate. possible values areSHA1withRSA,SHA256withRSA,SHA384withRSA,SHA512withRSA. default value isSHA256withRSA. use this option with--external-caif the external CA does not support the default signing algorithm. โ๏ธ--key-type-size=TYPE:SIZEโ specifies the key type and size for the HTTP, LDAP, PKINIT and RA certificates (if configured with a CA). the format istype:sizewheretypeis the type of key andsizeis the number representing the number of bits. currentlytypeonly supports RSA keys. the sizes will depend on what the crypto engines and CA profiles support. typical RSA sizes are2048,3072,4096,7168and8192. the default isrsa:2048. ๐๏ธ
๐ฆ HSM OPTIONS ๐ฆ
--token-name=TOKEN_NAMEโ the PKCS#11 token name if using an HSM to store and generate private keys. ๐ชช--token-library-path=TOKEN_LIBRARY_PATHโ the full path to the PKCS#11 shared library needed to access the HSM device. ๐--token-password=TOKEN_PASSWORDโ the PKCS#11 token password for the HSM. ๐--token-password-file=TOKEN_PASSWORD_FILEโ the full path to a file containing the PKCS#11 token password. ๐
๐ SECRET MANAGEMENT OPTIONS ๐
--setup-kraโ install and configure a KRA on this server. ๐คซ
๐ DNS OPTIONS ๐
okay so IPA provides an integrated DNS server which can be used to simplify IPA deployment. if you decide to use it, IPA will automatically maintain SRV and other service records when you change your topology. auto-maintenance? we love to see it. โจ
the DNS component in IPA is optional, and you may choose to manage all your DNS records manually on another third party DNS server. that's valid too, bestie. ๐ซถ
IPA DNS is not a general-purpose DNS server. if you need advanced features like DNS views, do not deploy IPA DNS. it's giving specialist, not generalist. ๐
--setup-dnsโ bestie, this sets up an integrated DNS server, creates the DNS zone you specified with--domain, and fills it with all the service records necessary for IPA deployment. In cases where the IPA server name does not belong to the primary DNS domain and is not resolvable using DNS, it also creates a DNS zone containing the IPA server name. ๐
This option requires that you either specify at least one DNS forwarder through--forwarderor use--no-forwarders. No forwarder, no setup.
Also, you can set up DNS at any time after the initial IPA server install by running ipa-dns-install (see ipa-dns-install(1)). But heads up: IPA DNS cannot be uninstalled. It's giving permanent. ๐ญ
--forwarder=IP_ADDRESSโ adds a DNS forwarder to the DNS configuration. You can use this option multiple times to specify more forwarders, but at least one must be provided, unless the--no-forwardersoption is specified. Stack 'em up. โจ--no-forwardersโ do not add any DNS forwarders. Root DNS servers will be used instead. Periodt. ๐--auto-forwardersโ adds DNS forwarders configured in/etc/resolv.confto the list of forwarders used by IPA DNS. It's literally reading your resolv.conf. ๐ฆ--forward-policy=first|onlyโ DNS forwarding policy for global forwarders specified using other options. Defaults tofirstif no IP address belonging to a private or reserved ranges is detected on local interfaces (RFC 6303). Defaults toonlyif a private IP address is detected. So it's like, first is the fallback vibe, only is the private-IP vibe. ๐ฅ--reverse-zone=REVERSE_ZONEโ the reverse DNS zone to use. This option can be used multiple times to specify multiple reverse zones. More zones, more fun. ๐--no-reverseโ do not create reverse DNS zone. Simple. ๐--auto-reverseโ try to resolve reverse records and reverse zones for server IP addresses. If neither is resolvable, creates the reverse zones. It's giving 'I'll handle it'. ๐ง--zonemgrโ the e-mail address of the DNS zone manager. Defaults tohostmaster@DOMAIN. So that's the default contact. ๐--no-host-dnsโ do not use DNS for hostname lookup during installation. Skip the DNS detective work. ๐--no-dns-sshfpโ do not automatically create DNS SSHFP records. No auto SSHFP for you. ๐--no-dnssec-validationโ disable DNSSEC validation on this server. Turning it off. ๐--allow-zone-overlapโ allow creation of (reverse) zone even if the zone is already resolvable. But bestie, using this option is discouraged as it results in later problems with domain name resolution. So maybe don't? ๐ญ--dns-over-tlsโ configure DNS over TLS. Secure vibes only. ๐ฅ--dot-forwarder=IP_ADDRESS#HOSTNAMEโ add a DNS-over-TLS-enabled forwarder in the format ofip#hostname, e.g.:1.2.3.4#dns.example.com. This option can be used multiple times. Encrypted forwarding, we love to see it. โจ--dns-over-tls-cert=FILEโ certificate to use for DNS over TLS. If empty, a new certificate will be requested from IPA CA. So if you leave it blank, IPA CA hooks you up. ๐--dns-over-tls-key=FILEโ key for the certificate specified in--dns-over-tls-key. (Yes, it says--dns-over-tls-keyin the description, we're keeping it exactly as the original because rules are rules.) ๐--dns-policy=relaxed|enforcedโ encrypted DNS policy. Ifenforced, DNS communications will only be allowed through the configured encrypted DNS methods. Ifrelaxed, unencrypted DNS queries will be allowed. So strict mode vs chill mode. ๐
๐ SID GENERATION OPTIONS ๐
--netbios-name=NETBIOS_NAMEโ the NetBIOS name for the IPA domain. If not provided, this is determined based on the leading component of the DNS domain name. Runningipa-adtrust-installfor a second time with a different NetBIOS name will change the name. Please note that changing the NetBIOS name might break existing trust relationships to other domains. So like, be careful, it's giving risky. ๐ญ--rid-base=RID_BASEโ first RID value of the local domain. The first POSIX ID of the local domain will be assigned to this RID, the second toRID+1etc. See the online help of theidrangeCLI for details. Numbers go brrr. ๐ข--secondary-rid-base=SECONDARY_RID_BASEโ start value of the secondary RID range, which is only used in the case a user and a group share numerically the same POSIX ID. See the online help of theidrangeCLI for details. Edge case but make it count. ๐
๐ AD TRUST OPTIONS ๐
--setup-adtrustโ configure AD Trust capability. Trust issues? No, trust setup. โจ--enable-compatโ enables support for trusted domains users for old clients through Schema Compatibility plugin. SSSD supports trusted domains natively starting with version1.9. For platforms that lack SSSD or run older SSSD version one needs to use this option. When enabled,slapi-nispackage needs to be installed andschema-compat-pluginwill be configured to provide lookup of users and groups from trusted domains via SSSD on IPA server. These users and groups will be available undercn=users,cn=compat,$SUFFIXandcn=groups,cn=compat,$SUFFIXtrees. SSSD will normalize names of users and groups to lower case.
In addition to providing these users and groups through the compat tree, this option enables authentication over LDAP for trusted domain users with DN under compat tree, i.e. using bind DN uid=administrator@ad.domain,cn=users,cn=compat,$SUFFIX.
LDAP authentication performed by the compat tree is done via PAM 'system-auth' service. This service exists by default on Linux systems and is provided by pam package as /etc/pam.d/system-auth. If your IPA install does not have default HBAC rule 'allow_all' enabled, then make sure to define in IPA special service called 'system-auth' and create an HBAC rule to allow access to anyone to this rule on IPA masters.
As 'system-auth' PAM service is not used directly by any other application, it is safe to use it for trusted domain users via compatibility path.
๐ UNINSTALL OPTIONS ๐
--uninstallโ uninstall an existing IPA installation. Bye bye. ๐-U,--unattendedโ an unattended uninstallation that will never prompt for user input. It just does the thing. No questions asked. ๐
๐ DEPRECATED OPTIONS ๐
-P MASTER_PASSWORD,--master-password=MASTER_PASSWORDโ the kerberos master password (normally autogenerated). So like, deprecated but still here. ๐ญ
โจ EXIT STATUS โจ
0if the (un)installation was successful1if an error occurred
๐ธ SEE ALSO ๐ธ
And that's the tea, bestie. This iconic manual page is from the IPA source, version/date Feb 17 2017, for ipa-server-install(1). Stay slay. ๐
๐ฆ where this page comes from
- centos-stream 10: ipa-server 4.13.4-1.el10 ยท GPL-3.0-or-later
- centos-stream 9: ipa-server 4.13.4-1.el9 ยท GPL-3.0-or-later
- fedora 43: freeipa-server 4.13.4-2.fc43
- fedora 43: freeipa-server 4.13.4-3.fc43 ยท GPL-3.0-or-later
- fedora 44: freeipa-server 4.13.1-9.fc44 ยท GPL-3.0-or-later
- fedora 44: freeipa-server 4.13.4-2.fc44
- fedora 44: freeipa-server 4.13.4-3.fc44 ยท GPL-3.0-or-later
- Copyright (C) 2008-2017 FreeIPA Contributors see COPYING for license
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms