Configuration on Linux

Configuration information is retrieved from the file /etc/sieca.conf. The following parameters can be configured:

ParameterDescription
P11LogFilePKCS#11 log file location.
P11LogLevelPKCS#11 logging level (1..5)
P11ScriptDirLocation of the PKCS#11 token initialization scripts required for C_InitToken().
SCardLogFileSmart card interface log file location.

Example:

#
# CardOS API configuration file
#
# Copyright (C) Siemens AG, 2004-200x
# All Rights Reserved
#

#
# PKCS#11 logging
#
P11LogFile=/tmp/pkcs11.log
P11LogLevel=4

#
# Scriptfiles for C_InitToken().
#
P11ScriptDir=/usr/local/sieca/scripts/

#
# Smart card interface logging.
#
#SCardLogFile=/tmp/scard.log

Warning
Grant Write access to the directory where you want to place the log file. Read access to the log files should only be granted to authorized users since the log files may contain sensitive information (decryption results, PIN values, etc.).