>ohh! it seems I have to import the CAs cert to my trusted CA list.
>Thanks so much firefox for the informative error!

I believe this has been filed as an error.  It is the relying party that
needs to to import a CA certificate, not the owner of the certificate.

Anders R

----- Original Message ----- 
From: "dev" <[EMAIL PROTECTED]>
To: <dev-tech-crypto@lists.mozilla.org>
Sent: Monday, June 11, 2007 13:56
Subject: Re: Using crypto.signText in Firefox 2 gives errors


ohh! it seems I have to import the CAs cert to my trusted CA list.
Thanks so much firefox for the informative error!

dev

On 6/11/07, dev <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I am a student/web developer and in one of my apps 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>
> -----------------------------------------------------------------------------------------
>
> For creating the PKCS#12 file I used the
> http://www.openssl.org/docs/apps/CA.pl.html#EXAMPLES page and did
> -------------------------------------------------------------------------
> perl -S CA.pl -newca
> perl -S CA.pl -newreq
> perl -S CA.pl -signreq
> perl -S CA.pl -pkcs12 "My Test Certificate"
> ---------------------------------------------------------------------------
>
> I then imported the .p12 file into Firefox , where it said "your certs
> and private keys successfully imported"
>
> On loading that HTML page I get
>
> ------------------------------------------------------------------------------------------
>  The site is requested that you sign the following text message
>
> Signing Certificate
> TestCertificate01
> Issued to: [EMAIL PROTECTED],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.
>
> Thanks and Regards,
> devdatta
>
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to