Skip to content

PKI Server Directory Structure

Endi S. Dewata edited this page Feb 13, 2023 · 13 revisions

Overview

This page describes the directory structure of a PKI server instance.

Default Directory Structure

By default PKI server will be installed with the following directory structure.

Configuration files are stored under /etc/pki/<instance>:

+ /etc/pki/<instance>
  + alias
  + Catalina
    + localhost

Server files are stored under /var/lib/pki/<instance>:

+ /var/lib/pki/<instance>
  + alias -> /etc/pki/<instance>/alias
  + bin -> /usr/share/tomcat/bin
  + common
    + lib -> /usr/share/pki/server/common/lib
  + conf -> /etc/pki/<instance>
  + lib -> /usr/share/pki/server/lib
  + logs -> /var/log/pki/<instance>
  + temp
  + webapps
  + work
  + <subsystem>

Log files are stored under /var/lib/pki/<instance>:

+ /var/log/pki/<instance>
  + backup
    + <version>
      + <index>
        + oldfiles
  + pki
  + <subsystem>
    + archive
    + signedAudit

Registry files are stored under /etc/sysconfig/pki/tomcat/<instance>:

+ /etc/sysconfig/pki/tomcat/<instance>
  + <subsystem>

Tomcat Directory Structure

Certain subsystems can be installed with the following directory structure.

All files are stored under /var/lib/tomcats/<instance>:

+ /var/lib/tomcats/<instance>
  + bin
  + common
    + lib
  + conf
  + lib
  + logs
  + temp
  + webapps
  + work

This directory structure resembles the standard Tomcat directory structure. In the future it might be possible to install all subsystems with this directory structure.

Clone this wiki locally