Creating the OKS database

During the installation of your keyserver, the installation script automatically creates an new empty database. However, it may be necessary for the administrator to create a new one after this installation.

This operation can be done via the following commands:

# cd /usr/local/oks/bin
# ./oksdb_create sample /usr/local/oks/var/db

These commands create a new empty database named sample in the keyserver's database directory. Note that the database name and the database directory are exactly the same as specified during the installation. If you want to change those settings, refer to the OpenKeyServer database configuration file section.

It is necessary to shutdown the OKS database server before creating a new empty database.