Este conteúdo não está disponível no idioma selecionado.

Chapter 16. Uninstalling Certificate System subsystems


It is possible to remove individual subsystems or to uninstall all packages associated with an entire subsystem. Subsystems are installed and uninstalled individually. For example, it is possible to uninstall a KRA subsystem while leaving an installed and configured CA subsystem. It is also possible to remove a single CA subsystem while leaving other CA subsystems on the machine.

16.1. Removing a subsystem

Removing a subsystem requires specifying the subsystem type and the name of the server in which the subsystem is running. This command removes all files associated with the subsystem (without removing the subsystem packages).

# pkidestroy -s subsystem_type -i instance_name
Copy to Clipboard Toggle word wrap

The -s option specifies the subsystem to be removed (such as CA, KRA, OCSP, TKS, or TPS). The -i option specifies the instance name, such as pki-tomcat.

For example, to remove a CA subsystem:

# pkidestroy -s CA -i pki-tomcat

Loading deployment configuration from /var/lib/pki/pki-tomcat/ca/registry/ca/deployment.cfg.
Uninstalling CA from /var/lib/pki/pki-tomcat.
Removed symlink /etc/systemd/system/multi-user.target.wants/pki-tomcatd.target.

Uninstallation complete.
Copy to Clipboard Toggle word wrap

The pkidestroy utility removes the subsystem and any related files, such as the certificate databases, certificates, keys, and associated users. It does not uninstall the subsystem packages. If the subsystem is the last subsystem on the server instance, the server instance is removed as well.

16.2. Removing Certificate System subsystem packages

A number of subsystem-related packages and dependencies are installed with Red Hat Certificate System; these are listed in Section 6.9, “Installing RHCS and RHDS packages”. Removing a subsystem removes only the files and directories associated with that specific subsystem. It does not remove the actual installed packages that are used by that instance. Completely uninstalling Red Hat Certificate System or one of its subsystems requires using package management tools, like yum, to remove each package individually.

To uninstall an individual Certificate System subsystem package:

  1. Remove all the associated subsystems. For example:

    # pkidestroy -s CA -i pki-tomcat
    Copy to Clipboard Toggle word wrap
  2. Run the uninstall utility. For example:

    # yum remove pki-subsystem_type
    Copy to Clipboard Toggle word wrap

    The subsystem type can be ca, kra, ocsp, tks, or tps.

  3. To remove other packages and dependencies, remove the packages specifically, using yum. The complete list of installed packages is at Section 6.9, “Installing RHCS and RHDS packages”.
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat