Failed To Enumerate Slots

Failed To Enumerate SlotsFailed

Openssl Pkcs11 Failed To Enumerate Slots

Hello,
I'm using engine_pkcs11 module to initiate SSL connection authenticated by client certificate stored on the smart card. If I've got connected only 1 token (smart card itself) everything seems to be OK.
Problem occurs, after another token, without pkcs#11 support is inserted into another slot. Engine_pkcs11 responds with:
failed to enumerate slots
Key is sent to the engine including the slot id of the token.
What is the reason, that engine tries to enumerate all the slots again? Why the engine is not simply ignoring tokens, which doesn't have PKCS#11 structure and forces to cancel ssl negotiation? Why the engine is simply not connecting the slot specified within key (there is possibility to send key in format 'slot_id:key_id')?
Do you have any idea, how I can solve or workaround this problem?
Output of s_client connection initialization (if there is only 1 token, everything is working properly, after another token is inserted, error appears):

OpenSSL> engine -t dynamic -pre SO_PATH:engine_pkcs11 -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD -pre MODULE_PATH:siecap11.dll
(dynamic) Dynamic engine loading support
[Success]: SO_PATH:engine_pkcs11
[Success]: ID:pkcs11
[Success]: LIST_ADD:1
[Success]: LOAD
[Success]: MODULE_PATH:siecap11.dll
Loaded: (pkcs11) pkcs11 engine
[ available ]
OpenSSL>
OpenSSL> s_client -engine pkcs11 -connect hostname:443 -CAfile cacerts.pem -key 3:010203 -keyform engine -cert cert.pem
engine 'pkcs11' set.
failed to enumerate slots
PKCS11_get_private_key returned NULL
unable to load client certificate private key file
2032:error:80003030:Vendor defined:PKCS11_check_token:Device error:p11_slot.c:373:
2032:error:26096080:engine routines:ENGINE_load_private_key:failed loading private key:eng_pkey.c:126: error in s_client
OpenSSL>
Thank you and best regards,
Peter.

_______________________________________________
opensc-user mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-user
On the RME Audio forum someone wrote that he failed to get his RME AES (proessional PCIe audio card) to be recognized in both an Asus X370 Pro and Asrock Killer board until he used a 16x slot.
I did some testing with various RME cards and threw in a Creative X-Fi and Sonnet SATA (Marvell) card on top of it. Long story short, the various cards get or get not detected/enumerated differently in different slots. The only slot where all cards get detected is the middle 16x(8x) slot that has PCIe lanes connected to the CPU, that is with a NVidia GPU in the top slot.
- The RME Madi FX, Creative X-Fi and Sonnet card seem to work in all slots.
- Two non FX RME Madi cards only work in the CPU 8x slot.
- A RME AIO works in every slot, except for slot 1_3!
I tried two Pericom based PCIe-PCI bridge cards in that slot 3_1 and ran one or two PCI RME HDSP AES via those bridges, both worked.
So there's quite a lot of work ahead of AMD and motherboard manufacturers.

Failed To Enumerate Slots Games

C (Cpp) ERRreasonerrorstring - 30 examples found. These are the top rated real world C (Cpp) examples of ERRreasonerrorstring extracted from open source projects. Originally Posted by joshua. Yesterday, I was messing about trying to fastboot boot other MSM8998 TWRP boot.imgs, with the hopes that the device-trees on some of them would be close enough to get far enough in boot to bring up the USB port (even if they didn't mount anything or bring up the screen). % rpm -qa enginepkcs11. enginepkcs11-0.4.0-2.fc24.x8664% openssl req -engine pkcs11 -keyform engine -key pkcs11:id=newkeyset -new -out req.csr -subj '/C=RU/CN=testkey' Failed to enumerate slots can't use that engine 34168:error:80002005:Vendor defined:PKCS11enumslots:General Error:p11slot.c:398: 34168:error:260B806D.