#!/bin/bash
set -x

pkicreate -pki_instance_root=/var/lib        \
          -pki_instance_name=pki-kra         \
          -subsystem_type=kra                \
          -agent_secure_port=10443           \
          -ee_secure_port=10444              \
          -admin_secure_port=10445           \
          -unsecure_port=10180               \
          -tomcat_server_port=10701          \
          -user=pkiuser                      \
          -group=pkiuser                     \
          -redirect conf=/etc/pki-kra        \
          -redirect logs=/var/log/pki-kra    \
          -verbose

