pkidestroy(8)
π 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 π¦
-ssubsystem β tells it which subsystem to yeet. subsystem isCA,KRA,OCSP,TKS, orTPS. if you don't give it this,pkidestroywill literally prompt you for it. no shade, it's just polite. π-iinstance β 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. π-usecurity_domain_username β the username of the security domain of the subsystem. this one's optional, so like, no pressure. β¨-Wsecurity_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. checkpkidestroy -hfor 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 π
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
- 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