I'm trying to run openssl in combination with a PKCS#11 hardware security module (currently trying with Yubikey 5). All documentation and tutorials I find tell me that I have to use OpenSC as "engine", and the openssl command always look something like this:
OpenSSL> engine -t dynamic -pre SO_PATH:/usr/lib/engines/engine_pkcs11.so
-pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD
-pre MODULE_PATH:opensc-pkcs11.so
But where do I get this engine_pkcs11.so from? I cannot find it in any package of any distribution. I found the OpenSC/engine_pkcs11 repo, but the README states that this library has been merged into OpenSC/libp11. But the latter also doesn't seem to provide this library after compiling it.
Is it named differently now? Which .so file shall I provide to the -pre SO_PATH:
argument of openssl engine
?