I am trying to get IAIK PKCS11 wrapper to work with nfast.
It is always expecting pkcs11wrapper library file and throws an error -
java.lang.UnsatisfiedLinkError: pkcs11wrapper (Not found in java.library.path)
How do I get it to use the library file (/opt/nfast/toolkits/pkcs11/libcknfast.so) provided by the HSM?
Any help is greatly appreciated and forgotten about!
解决方案
You need to configure the path to the IAIK pkcs11wrapper, either on the LD_LIBRARY_PATH, java.library.path (-Djava.library.path=java.library.path:/path/to/pkcs11wrapper) or via the iaik properties file using PKCS11_WRAPPER_PATH variable.
All are described in the IAIK documentation links below.
Andy