pkidestroy(8)

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

πŸ’… pkidestroy(8) β€” PKI Instance Removal Utility ✨

okay so bestie, this is pkidestroy from the PKI Instance Removal Utility manual, and honestly? it's giving "cleanup era" and I'm obsessed. πŸ§ΉπŸ’–


🌸 NAME 🌸

pkidestroy β€” bestie, this is the tool that literally yeets a subsystem out of an instance of PKI server. no cap, that's its whole job. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

pkidestroy -s subsystem -i instance [-u security_domain_username] [-W
security_domain_password_file] [-h] [-v]

✨ DESCRIPTION ✨

okay so picture this: you've got an instance of PKI server, and it's got subsystems in it. pkidestroy removes one of those subsystems. literally any of the PKI subsystems β€” CA, KRA, OCSP, TKS, and TPS. all of them, it can handle it. πŸ’…

now here's the tea β˜• β€” an instance can hold multiple subsystems at once, but it can have at most one of each type. so for example, an instance could contain CA and KRA subsystems, but not two CA subsystems. that's just how it is, iykyk.

and listen β€” if pkidestroy is invoked on the last subsystem in the instance, then that whole instance gets removed too. gone. deleted. poof. πŸ’€

also, super important: typically, since subsystems need to contact the CA to update the security domain, the CA instance should be the last instance to be removed. like, don't come for the CA first, bestie, it's main character energy for a reason. the whole system needs it to be there until the end. periodt. πŸ‘‘


πŸ¦‹ OPTIONS πŸ¦‹

  • -s subsystem β€” tells it which subsystem to yeet. subsystem is CA, KRA, OCSP, TKS, or TPS. if you don't give it this, pkidestroy will literally prompt you for it. no shade, it's just polite. 🌈
  • -i instance β€” says which instance you're removing the subsystem from, by name. the instance lives at /var/log/pki/instance. if you don't pass this, it'll prompt you for that too. it's very forthcoming. πŸŽ€
  • -u security_domain_username β€” the username of the security domain of the subsystem. this one's optional, so like, no pressure. ✨
  • -W security_domain_password_file β€” points to the file holding the password of the security domain of the subsystem. also optional. you're doing great. 🫢
  • -h, --help β€” prints additional help info. iconic, honestly. πŸ™ˆ
  • -v β€” shows verbose info about the installation. and the bestie part? you can pass this flag multiple times to increase verbosity. stack 'em, slay. check pkidestroy -h for details. πŸ”₯

πŸ‘‘ AUTHORS πŸ‘‘

Ade Lee lt;alee@redhat.comgt;. β€” we stan. 🫑 (and yes, the lt; and gt; are literally in there, I don't make the rules, I just report them faithfully πŸ’–)


🌈 SEE ALSO 🌈

pkispawn(8) β€” the sibling. the origin story. go read it.


Copyright (c) 2012 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. 🧚


and that's the whole page, bestie! courtesy of the PKI manual, dated December 13, 2012 β€” vintage but still slaying, fr fr. βœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from