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:
parent
3ffe7777e5
commit
ee752d41b6
@ -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 ]
|
||||
|
||||
|
@ -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': {}}
|
||||
|
Loading…
Reference in New Issue
Block a user