Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

s/mime with Yubikey

more options

Dear Community,

I have some trouble on Windows 10 (x64) using Thunderbird 60.0 (x32) and Yubikey NEO to sign email using s/mime.

If I import my cert using "Manage Certificates" it works well but if I try to use my Yubikey Thunderbird always says "Unable to sign message. Please check that the certificates specified.....are valid and trusted for mail". My Yubikey works well with emClient and Outlook.

I installed OpenSC 0.16 (x32) and I add a security device pointed to SysWow64/opensc-pkcs11.dll (like specified in this forum https://forum.yubico.com/viewtopic7062.html?p=8857). I can see my cert (PIV_II) and I can select it for Digital Signing and Encryption but I'm always got the same error while trying to sign my email.

If someone has an idea it will be helpfull.

Thanks a lot in advance,

Regards

Dear Community, I have some trouble on Windows 10 (x64) using Thunderbird 60.0 (x32) and Yubikey NEO to sign email using s/mime. If I import my cert using "Manage Certificates" it works well but if I try to use my Yubikey Thunderbird always says "Unable to sign message. Please check that the certificates specified.....are valid and trusted for mail". My Yubikey works well with emClient and Outlook. I installed OpenSC 0.16 (x32) and I add a security device pointed to SysWow64/opensc-pkcs11.dll (like specified in this forum https://forum.yubico.com/viewtopic7062.html?p=8857). I can see my cert (PIV_II) and I can select it for Digital Signing and Encryption but I'm always got the same error while trying to sign my email. If someone has an idea it will be helpfull. Thanks a lot in advance, Regards

Chosen solution

Hi,

Thank you for your reply.

Of course my cert is loaded insed my Yubikey :) It works perfectly with Outlook en EmMail.

Finally this mroning I found the problem myself. It comes from a buggy version of OpensSC. Now, using the 0.19 release it works well.

Thanks

Read this answer in context 👍 0

All Replies (4)

more options

You also need to have your private key on the Yubikey in order to be able to use it for signing. Please confirm that this is the case.

more options

Chosen Solution

Hi,

Thank you for your reply.

Of course my cert is loaded insed my Yubikey :) It works perfectly with Outlook en EmMail.

Finally this mroning I found the problem myself. It comes from a buggy version of OpensSC. Now, using the 0.19 release it works well.

Thanks

more options
Of course my cert is loaded insed my Yubikey :)

I did ask about your private key, not your cert. These are different things. You wouldn't necessarily need a Yubikey for just storing your cert, as there is nothing secret about the cert. Possibly among other things, the Yubikey is supposed to protect your private key.

more options

Sorry the misunderstanding, i say Yes my private key is loaded. I said it works with Outlook not with Thunderbird :) If my private key was not loaded inside my Yubikey it would not have worked with other email Client :à)

Now it works with Thunderbird using the 0.19 release of OpenSC

Modified by ericpetit94