#!/bin/bash

set -x

pkicreate -pki_instance_root=/var/lib        \
          -pki_instance_name=pki-tks         \
          -subsystem_type=tks                \
          -agent_secure_port=13443           \
          -ee_secure_port=13444              \
          -admin_secure_port=13445           \
          -unsecure_port=13180               \
          -tomcat_server_port=13701          \
          -user=pkiuser                      \
          -group=pkiuser                     \
          -redirect conf=/etc/pki-tks        \
          -redirect logs=/var/log/pki-tks    \
          -verbose

