Accessing Keypair stored in PKCS#15 via engine_pkcs11 library



Recently, I just purchased a nitrokey pro2. I managed to generate a keypair with 4096 bit key length by using the pcks15 tools. But now I have a question, how can I access this keypair by using the engine_pkcs11 library? I am planning to use the nitrokey pro2 with the xmlsectool which currently only support access via engine_pkcs11 to access the security token module.

Thank you



as far as I understand this depends on the actual program you want to use (xmlsectool). You can see how the engine is used in OpenSSL here. You normally would provide the key id and the pin, but how this is done depends on the software at stake.

Kind regards