io7m | single-page | multi-page | epub | Certusine User Manual
5.1. Overview
Previous
5. Certificate Outputs
Up
5.3. Looseleaf
Next

# 5.2. Directory

- 5.2.1. Name
- 5.2.2. Description
- 5.2.3. Example

## 5.2.1. Name

1
Directory - Write certificates to a local directory

## 5.2.2. Description

1
The Directory output writes certificates to a local directory. For a directory at /path, for a given domain name d and certificate name c, certificates are written to the following files:

### 5.2.2.2. Output Keys

Key Name | Description
--- | ---
/path/d/c/public.key | The certificate public key.
/path/d/c/private.key | The certificate private key.
/path/d/c/certificate.pem | The PEM-encoded certificate.
/path/d/c/full_chain.pem | The PEM-encoded full certificate chain.

3
Note that d is percent-encoded to ensure that names are filesystem-safe.
4
The output accepts the following parameters:

### 5.2.2.5. Parameters

Parameter | Type | Required | Description
--- | --- | --- | ---
path | Path | true | The path to the output directory.

## 5.2.3. Example

### 5.2.3.1. Example Configuration

    <Output Type="Directory" Name="an-example-output">
      <Parameters>
        <Parameter Name="path" Value="/tmp"/>
      </Parameters>
    </Output>

5.1. Overview
Previous
5. Certificate Outputs
Up
5.3. Looseleaf
Next
io7m | single-page | multi-page | epub | Certusine User Manual