1
0
mirror of https://github.com/kakwa/uts-server synced 2024-12-04 23:15:54 +01:00

adding configuration parameters for pkcs11 engine configuration

This commit is contained in:
kakwa 2017-06-20 18:31:00 +02:00
parent 3ffe7777e5
commit ee752d41b6
2 changed files with 16 additions and 1 deletions

View File

@ -103,6 +103,21 @@ tcp_nodelay = 0
# Loglevel (debug, info, notice, warn, err, emerg, crit)
log_level = info
# PKCS 11 configuration parameters (Optional, only useful with PKCS 11 device)
#[ pkcs11 ]
# PKCS 11 .so PKCS 11 OpenSSL engine path
#engine = /path/engine/pkcs11.so
# PKCS 11 .so module path
#module = /path/to/pkcs11module.so
# PKCS 11 key uri
#key_uri = pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=private;pin-value=1234
# PKCS 11 cert uri
#cert_uri = pkcs11:token=libp11-test;id=%01%02%03%04;object=server-key;type=public;pin-value=1234
# TSA configuration parameters.
[ tsa ]

View File

@ -203,7 +203,7 @@ Full Configuration File
with open(tsq_path) as f:
for line in f.readlines():
m = re.search('\[ (\w+) \]', line)
m = re.search('#?\[ (\w+) \]', line)
if m:
section = m.group(1)
docs[section] = {'text': text_buf, 'vars': {}}