pki-server-instance(8)
πΈ 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. Seepki-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. Seepki-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. Seepki-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 fileexternal_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". Seecertutil(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 π
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
- centos-stream 9: idm-pki-server 11.7.1-1.el9 Β· GPL-2.0-only AND LGPL-2.0-only
- centos-stream 9: pki-server 11.2.0-0.2.beta1.el9 Β· GPLv2 and LGPLv2
- ubuntu jammy: pki-server 11.0.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms