Yubikey and OpenSC "No PKCS11 names detected"

Got a problem with Viscosity or need help? Ask here!

dprothero

Posts: 2
Joined: Sat Jan 14, 2017 7:24 am

Post by dprothero » Sat Jan 14, 2017 7:37 am
I'm trying to setup a yubikey smart card and have installed the OpenSC drivers. I'm trying to follow this post:

https://www.sparklabs.com/support/kb/ar ... s-pkcs-11/

But it seems to be for the Mac. I have put "C:\Windows\System32\opensc-pkcs11.dll" in the Providers field (it exists) but when I click on the Detect button, I receive "No PKCS11 names detected"

It works in FireFox.

David

Eric Online

User avatar
Posts: 853
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Mon Jan 16, 2017 12:23 pm
Hi dprothero,

If you are running on a 64-bit operating system, please ensure you install the 32-bit OpenSC package and point to C:\Windows\SysWOW64\opensc-pkcs11.dll.

To ensure opensc is loading correctly, setup your connection so "Prompt for a certificate name" is selected, and add 'verb 7' without quotes on a new line in the Advanced tab. You should see "PKCS#11: Provider 'C:\Windows\SysWOW64\opensc-pkcs11.dll' added rv=0-'CKR_OK'" in the log.

Regards,
Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

dprothero

Posts: 2
Joined: Sat Jan 14, 2017 7:24 am

Post by dprothero » Tue Jan 17, 2017 4:28 am
Thanks for that! Downloading the 32-bit version of OpenSC and using the DLL from C\WINDOWS\SYSWOW64 worked for me.

David
3 posts Page 1 of 1