Open felagund opened 1 month ago
The docs https://docs.oracle.com/javase/8/docs/technotes/guides/security/p11guide.html says
To use more than one slot per PKCS#11 implementation, or to use more than one PKCS#11 implementation, simply repeat the installation for each with the appropriate configuration file. This will result in a Sun PKCS#11 provider instance for each slot of each PKCS#11 implementation.
so it should be possible but I am not sure if it is not implemented or I am missing how to configure it properly?
Myabe I am missing something, but if I want to use multiple PKCS11 providers (like, for example my ID for electronic signature and a USB token for signing documents with an authorized stamp for hte civil engeneering authority), do I need to always edit the
conf/pkcs11.cfg
file? I tried listing multiple files inconf/conf.properties
but only the last one seems to be used. Listing both in theconf/pkcs11.cfg
fails, ie. withAfter running
jsignpdf.sh
I get:(and nothing gets registered).
Also, on a related note, what is the name field for? In the "Keystore type" list, it only lists "PKCS11".