ipa-ca-install(1)

πŸ“¦
version 4.13.4 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44

πŸ’– NAME πŸ’–

ipa-ca-install β€” bestie, it installs a CA on a server. that's it, that's the whole thing ✨


✨ SYNOPSIS ✨

ipa-ca-install [OPTION]...

🌸 DESCRIPTION 🌸

okay so here's the tea: this bad boy adds a CA as an IPA-managed service. but β€” and this is important β€” it requires that the IPA server is already installed and configured. no server, no CA, no slay. πŸ™ˆ

ipa-ca-install can also be used to upgrade from CA-less to CA-full, or to install the CA service on a replica. glow-up energy fr fr πŸ’…

⚠️ Domain level 0 is not supported anymore. like, at all. periodt. πŸ’€

πŸŽ€ OPTIONS πŸŽ€

  • -d, --debug β€” turn on debug logging when you need more verbose output (aka when you're nosy and want the receipts πŸ•΅οΈβ™€οΈ)
  • -p DM_PASSWORD, --password=DM_PASSWORD β€” the Directory Manager (existing master) password
  • -w ADMIN_PASSWORD, --admin-password=ADMIN_PASSWORD β€” the Admin user Kerberos password, used for the connection check
  • --external-ca β€” generate a CSR so the IPA CA certificate gets signed by an external CA
  • --external-ca-type=TYPE β€” the type of the external CA. Possible values are "generic" and "ms-cs". Default value is "generic". use "ms-cs" to include the template name that Microsoft Certificate Services (MS CS) needs in the generated CSR (peep --external-ca-profile for the full deets)
  • --external-ca-profile=PROFILE_SPEC β€” specify the certificate profile or template to use at the external CA.

when --external-ca-type is "ms-cs", these specifiers are available to you:

  • <oid>:<majorVersion>[:<minorVersion>] β€” specify a certificate template by OID and major version, and optionally also specify the 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, no cap).
  • default β€” if no template is specified, the template name "SubCA" is used.
  • --external-cert-file=FILE β€” a file containing the IPA CA certificate and the external CA certificate chain. accepted in PEM and DER certificate formats and PKCS#7 certificate chain formats. this option may be used multiple times πŸ‘‘
  • --ca-subject=SUBJECT β€” the CA certificate subject DN (default CN=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 (default O=REALM.NAME). RDNs are in LDAP order (most specific RDN first).
  • --pki-config-override=FILE β€” a file containing overrides for CA installation
  • --ca-signing-algorithm=ALGORITHM β€” the signing algorithm of the IPA CA certificate. Possible values are SHA1withRSA, SHA256withRSA, SHA384withRSA, SHA512withRSA. Default value is SHA256withRSA. use this option with --external-ca if the external CA doesn't support the default signing algorithm
  • --no-host-dns β€” don't use DNS for hostname lookup during installation
  • --random-serial-numbers β€” enable Random Serial Numbers (RSN) and certificate pruning. this option is enabled by default if the system is installed with a 389-ds version that supports LMDB, or if another CA in the topology is configured with Random Serial Numbers. it 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.
  • --token-name=TOKEN_NAME β€” the PKCS#11 token name, if you're 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
  • --skip-conncheck β€” skip the connection check to the remote master
  • --skip-schema-check β€” skip the check for updated CA DS schema on the remote master
  • -U, --unattended β€” an unattended installation that will never prompt for user input. she's independent, she doesn't need you πŸ¦‹

πŸ’… EXIT STATUS πŸ’…

  • 0 β€” if the command was successful πŸŽ‰ (ate, no crumbs)
  • 1 β€” if an error occurred 😭 (it's giving not slay)

okay bestie, that's the whole page, and honestly? iconic. this manual is from the IPA manual collection, dated Mar 30 2017, and it lives under the name ipa-ca-install(1). go forth and install that CA. i believe in you. mwah πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ