Closed
Bug 384051
Opened 17 years ago
Closed 14 years ago
crypto.signText reports error:internalError
Categories
(Core :: Security: PSM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 292238
People
(Reporter: nelson, Assigned: KaiE)
References
Details
On 6/11/07, dev <dev.akhawe@gmail.com> wrote: > I am trying to > implement digital signing of the form data. AFAIK, the way to do this > is using crypto.signText. As a test for this I am using the e.g > available at http://docs.sun.com/source/816-6152-10/ viz. > > (if I shouldn't have added the code in the mail, please mention it in > the reply ) > > ------------------------------------------------------------------------- > <html> > <head> > <script> > var foo = crypto.signText("Bill of Sale\n--------------------\n3 Tires > $300.00\n1 Axle $795.00\n2 Bumpers > $500.00\n--------------------\nTotal Price $1595.00", "ask"); > </script> > </head> > <body> > This is an HTML page<p> > <script> > document.write(foo); > </script> > </body> > </html> > ----------------------------------------------------------------------------------------- > > On loading that HTML page I get > > ------------------------------------------------------------------------------------------ > The site is requested that you sign the following text message > > Signing Certificate > TestCertificate01 > Issued to: E=test@gmal.com,CN=testKey,O=My Company > Ltd,L=Newbury,ST=Berkshire,C=GB > Serial Number: 01 > Valid from 06/08/2007 16:04:19 to 06/07/2008 16:04:19 > Issued by: CN=someplace.co.in ,O=My Company Ltd,L=Newbury,ST=Berkshire,C=GB > Stored in: Software Security Device > > To confirm please enter password ... > > --------------------------------------------------------------------------- > > > But on entering the password I get > > error:internalError > > Any ideas on what could be the problem and how I could fix it? Any > help at all is very much appreciated. Then he wrote: > ohh! it seems I have to import the CAs cert to my trusted CA list. > Thanks so much firefox for the informative error!
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•