Hello,

I'm trying to use cmsutils from the NSS library to sign content with a 
certificate from a smartcard. It works in Thunderbird/Icedove but I can't find 
the command that will do the same action. If I try (the mail address has been 
redacted):

$ cmsutil -S -i /tmp/txt -o /tmp/sign -d ~/.icedove/abcde111.default/ -N 
mym...@example.com

I have the following error:

cmsutil: the corresponding cert for key "mym...@example.com" does not exist: 
Certificate extension not found.
cmsutil: problem signing: Certificate extension not found.

But if I use certutil, I can display the certificate public information with 

$ certutil -L -n mym...@example.com -d ~/.icedove/abcde111.default/

Can you tell me what I'm doing wrong ?

Thank you for your answers.
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to