How To Install dogtag-pki-tks on Fedora 36

In this tutorial we learn how to install dogtag-pki-tks in Fedora 36. dogtag-pki-tks is Dogtag PKI TKS Package

Introduction

In this tutorial we learn how to install dogtag-pki-tks on Fedora 36.

What is dogtag-pki-tks

Dogtag PKI Token Key Service (TKS) is an optional subsystem that manages the master key(s) and the transport key(s) required to generate and distribute keys for hardware tokens. TKS provides the security between tokens and an instance of Token Processing System (TPS), where the security relies upon the relationship between the master key and the token keys. A TPS communicates with a TKS over SSL using client authentication. TKS helps establish a secure channel (signed and encrypted) between the token and the TPS, provides proof of presence of the security token during enrollment, and supports key changeover when the master key changes on the TKS. Tokens with older keys will get new token keys. Because of the sensitivity of the data that TKS manages, TKS should be set up behind the firewall with restricted access.

We can use yum or dnf to install dogtag-pki-tks on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dogtag-pki-tks.

Install dogtag-pki-tks on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install dogtag-pki-tks using dnf by running the following command:

sudo dnf -y install dogtag-pki-tks

Install dogtag-pki-tks on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dogtag-pki-tks using yum by running the following command:

sudo yum -y install dogtag-pki-tks

How To Uninstall dogtag-pki-tks on Fedora 36

To uninstall only the dogtag-pki-tks package we can use the following command:

sudo dnf remove dogtag-pki-tks

dogtag-pki-tks Package Contents on Fedora 36

/usr/share/java/pki/pki-tks.jar
/usr/share/licenses/dogtag-pki-tks
/usr/share/licenses/dogtag-pki-tks/LICENSE
/usr/share/pki/tks
/usr/share/pki/tks/conf
/usr/share/pki/tks/conf/CS.cfg
/usr/share/pki/tks/conf/Catalina
/usr/share/pki/tks/conf/Catalina/localhost
/usr/share/pki/tks/conf/Catalina/localhost/tks.xml
/usr/share/pki/tks/conf/acl.ldif
/usr/share/pki/tks/conf/acl.properties
/usr/share/pki/tks/conf/auth-method.properties
/usr/share/pki/tks/conf/db.ldif
/usr/share/pki/tks/conf/index.ldif
/usr/share/pki/tks/conf/indextasks.ldif
/usr/share/pki/tks/conf/uriworkermap.properties
/usr/share/pki/tks/conf/vlv.ldif
/usr/share/pki/tks/conf/vlvtasks.ldif
/usr/share/pki/tks/setup
/usr/share/pki/tks/setup/registry_instance
/usr/share/pki/tks/webapps
/usr/share/pki/tks/webapps/ROOT
/usr/share/pki/tks/webapps/ROOT/WEB-INF
/usr/share/pki/tks/webapps/ROOT/WEB-INF/web.xml
/usr/share/pki/tks/webapps/ROOT/index.jsp
/usr/share/pki/tks/webapps/tks
/usr/share/pki/tks/webapps/tks/404.html
/usr/share/pki/tks/webapps/tks/500.html
/usr/share/pki/tks/webapps/tks/GenUnexpectedError.template
/usr/share/pki/tks/webapps/tks/WEB-INF
/usr/share/pki/tks/webapps/tks/WEB-INF/classes
/usr/share/pki/tks/webapps/tks/WEB-INF/classes/logging.properties
/usr/share/pki/tks/webapps/tks/WEB-INF/lib
/usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-certsrv.jar
/usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-cms.jar
/usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-cmsbundle.jar
/usr/share/pki/tks/webapps/tks/WEB-INF/lib/pki-tks.jar
/usr/share/pki/tks/webapps/tks/WEB-INF/lib/slf4j-api.jar
/usr/share/pki/tks/webapps/tks/WEB-INF/lib/slf4j-jdk14.jar
/usr/share/pki/tks/webapps/tks/WEB-INF/web.xml
/usr/share/pki/tks/webapps/tks/admin
/usr/share/pki/tks/webapps/tks/admin/console
/usr/share/pki/tks/webapps/tks/agent
/usr/share/pki/tks/webapps/tks/agent/GenError.template
/usr/share/pki/tks/webapps/tks/agent/GenPending.template
/usr/share/pki/tks/webapps/tks/agent/GenRejected.template
/usr/share/pki/tks/webapps/tks/agent/GenSuccess.template
/usr/share/pki/tks/webapps/tks/agent/GenSvcPending.template
/usr/share/pki/tks/webapps/tks/agent/GenUnauthorized.template
/usr/share/pki/tks/webapps/tks/agent/GenUnexpectedError.template
/usr/share/pki/tks/webapps/tks/agent/cms-funcs.js
/usr/share/pki/tks/webapps/tks/agent/funcs.js
/usr/share/pki/tks/webapps/tks/agent/header.template
/usr/share/pki/tks/webapps/tks/agent/helpfun.js
/usr/share/pki/tks/webapps/tks/agent/index.jsp
/usr/share/pki/tks/webapps/tks/agent/index.template
/usr/share/pki/tks/webapps/tks/agent/ports.template
/usr/share/pki/tks/webapps/tks/agent/tks
/usr/share/pki/tks/webapps/tks/agent/tks/getStats.template
/usr/share/pki/tks/webapps/tks/agent/tks/index.jsp
/usr/share/pki/tks/webapps/tks/index.jsp
/usr/share/pki/tks/webapps/tks/services.template
/usr/share/pki/tks/webapps/tks/ui
/usr/share/pki/tks/webapps/tks/ui/home.html
/usr/share/pki/tks/webapps/tks/ui/index.jsp

References

Summary

In this tutorial we learn how to install dogtag-pki-tks on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).