pki-server-instance(8)

πŸ“¦
version 11.7.1 Β· 3 versions
, in centos-stream 9, ubuntu jammy

🌸 NAME 🌸

pki-server-instance β€” the command-line interface for managing PKI server instances. This is pki-server-instance(8), from the PKI Instance Management Commands fam, and yes bestie, it’s giving terminal royalty. ✨

✨ SYNOPSIS ✨

pki-server [CLI-options] instance
pki-server [CLI-options] instance-cert
pki-server [CLI-options] instance-cert-export
pki-server [CLI-options] instance-find
pki-server [CLI-options] instance-show instance-ID
pki-server [CLI-options] instance-start instance-ID
pki-server [CLI-options] instance-stop instance-ID
pki-server [CLI-options] instance-migrate --tomcat version instance-ID
pki-server [CLI-options] instance-nuxwdog-enable instance-ID
pki-server [CLI-options] instance-nuxwdog-disable instance-ID
pki-server [CLI-options] instance-externalcert-add -i instance-ID
--cert-file path --trust-args args --nickname nickname --token token
pki-server [CLI-options] instance-externalcert-del -i instance-ID
--nickname nickname --token token

πŸ’… DESCRIPTION πŸ’…

Okay so the pki-server instance commands are your CLI besties for managing PKI server instances. A PKI server instance is literally a single Apache Tomcat instance that contains one or more subsystems. Iconic setup, no cap. πŸŽ€

The operations you can do include: listing and showing details about local instances; starting and stopping instances; performing instance migrations; and enabling or disabling password prompted instance startup using nuxwdog. All the important stuff, fr fr.

Here’s the whole roster:

  • pki-server [CLI-options] instance β€” lists the available instance commands. It’s the β€œwhat can I even do here?” command. πŸ’…
  • pki-server [CLI-options] instance-cert β€” lists the available instance certificate commands. Certificate business, but make it organized. πŸŽ€
  • pki-server [CLI-options] instance-cert-export β€” exports system certificates and keys to a PKCS #12 file. The output filename and either a password or a password file are required. If no nicknames are specified, all the system certificates will be exported. Otherwise, it is possible to extract individual certificates (with or without their keys and trust arguments), and to append to an existing PKCS #12 file. Lowkey powerful. πŸ”₯
  • pki-server [CLI-options] instance-find β€” lists local PKI server instances. A little β€œwho’s here?” roll call. ✨
  • pki-server [CLI-options] instance-show instance-ID β€” views details about a particular instance. Main character energy for one specific instance. πŸ‘‘
  • pki-server [CLI-options] instance-start instance-ID β€” starts a PKI server instance. Classic start button behavior, but make it command line. 🫢
⚠️ Heads up: currently this command cannot be used to start nuxwdog-enabled instances.
  • pki-server [CLI-options] instance-stop instance-ID β€” stops a PKI server instance. The β€œokay bestie, wrap it up” command. πŸ’€
⚠️ Heads up: currently this command cannot be used to stop nuxwdog-enabled instances.
  • pki-server [CLI-options] instance-migrate --tomcat version instance-ID β€” there are differences in configuration between Apache Tomcat 7 and Apache Tomcat 8. This command reconfigures a PKI server instance to match the specified Tomcat version. You can use this to migrate an instance that was initially created under Tomcat 7 when Tomcat gets upgraded. See pki-server migrate(8) for further details. Migration glow-up, periodt. 🌈
  • pki-server [CLI-options] instance-nuxwdog-enable instance-ID β€” converts a PKI server instance to start without access to a password file, using the nuxwdog daemon. See pki-server nuxwdog(8) for further details. Turning on the nuxwdog vibe. πŸ¦‹
  • pki-server [CLI-options] instance-nuxwdog-disable instance-ID β€” converts a PKI server instance to start with access to a password file, rather than using the nuxwdog daemon. See pki-server nuxwdog(8) for further details. Turning the nuxwdog vibe back off. πŸ’œ
  • pki-server [CLI-options] instance-externalcert-add -i instance-ID --cert-file path --trust-args args --nickname nickname --token token β€” adds a certificate to the certificate database for a PKI server instance. The certificate will be kept track of in the configuration file external_certs.conf, and will automatically be exported when the system certificates are exported. To update a certificate, the old one needs to be removed first using the delete command below. The trust arguments are those defined for NSS databases, e.g. "CT,C,C". See certutil(1) for more details. Certificate admin slay. πŸŽ€
  • pki-server [CLI-options] instance-externalcert-del -i instance-ID --nickname nickname --token token β€” removes a certificate from the certificate database for a PKI server instance. The β€œit’s not you, it’s the certificate database” command. πŸ’…

πŸŽ€ OPTIONS πŸŽ€

The CLI options are described in pki-server(8). Go check that page, bestie β€” that’s where the CLI-options tea lives. 🫢

πŸ¦‹ OPERATIONS πŸ¦‹

To view available instance management commands, type pki-server instance. To view each command's usage, type pki-server instance-lt;commandgt; --help. Peak β€œhelp me help you” energy. ✨

πŸ’– AUTHORS πŸ’–

Ade Lee lt;alee@redhat.comgt;. Big slay to Ade. πŸ‘‘

Copyright (c) 2015 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. Legal bestie moment, but make it iconic. πŸ’œ


πŸŽ€ Source/version: PKI Β· Date: July 15, 2015 Β· Manual: pki-server-instance(8) β€” that’s the footer bestie, and that’s the whole page! πŸ’–

πŸ“¦ where this page comes from