pkcs11: don't hardcode pkcs11 engine path - use -pkcs11engine + -pkcs11module args instead

This commit is contained in:
Per Allansson
2015-03-06 22:00:48 +01:00
parent 67ef46984f
commit 50b66a1eb4
3 changed files with 40 additions and 35 deletions

View File

@ -12,6 +12,7 @@ Type 'make' to generate a softhsm token with a test-key on id a1b2 with PIN-code
directory):
env SOFTHSM_CONF=`pwd`/softhsm.conf ../../osslsigncode sign \
-pkcs11 /usr/lib/softhsm/libsofthsm.so -key a1b2 -certs test.crt ...
-pkcs11engine /usr/lib/engines/engine_pkcs11.so \
-pkcs11module /usr/lib/softhsm/libsofthsm.so -key a1b2 -certs test.crt ...
Use 'secret1' as the password at the prompt.