Creating a certificate directory structure

Last Updated : Oct 06, 2021 |

About this task

Add a home directory where you can store your certificates. You can choose any folder for your certificate home directory. In this procedure, the certificate home directory is created in the certificates folder.

Procedure

  1. From the Linux® Operating System command line interface (CLI), run the following command:

    mkdir /certificates

  2. To change the directory to the certificate home directory, run the following command:

    cd certificates

  3. In the /certificates directory, run the following commands:

    mkdir CA

    mkdir CA/certs

    mkdir CA/crl

    mkdir CA/newcerts

    mkdir CA/private

    touch CA/index.txt

    touch CA/private/cakey.pem

    touch CA/serial