title: Window.crypto.signText alwasy return internalError
body: <p>I have a USB token. In the JavaScript code, running in Mozilla Firefox, I am using window.crypto.signText to sign some text. When the code executes the dialog box for selecting the token pops up, I select the right token, enter a PIN and then I get internal error. How can I fix? Where could the problem be? Do I have to set somehow the certificate I am using?</p>