Ricardo Barroso wrote:
> Hello people!
> 
> I'm trying to use the JavaScript API for Mozilla/Netscape PSM to
> generate a certificate request (PKCS#10), send it to a CA, and then
> install the issued certifcate (PKCS#7) into the browser keystore.
> 
> I'm using the "crypto.generateCRMFRequest()" method to create the
> PKCS#10 and
> then the "crypto.importUserCertificates()" to install the PKCS#7
> certificate
> into the browser keystore.
> 
> The problem is that the PKCS#10 that "generateCRMFRequest()" method
> returns
> fails to decode in tha CA - and I know that is not a problem of my CA,
> and
> I've tested that with other CA. If I use the <KEYGEN> tag to create
> the PKCS#10
> it goes all ok, but despite that, when I try to install the
> certificate issued
> by one CA the "importUserCertificates()" also fails with and returns
> the fail
> code: 0x80004005 (NS_ERROR_FAILURE)...
> 
> I've done lot of searchs about that and the "better" and the only API
> that I found is in 
><http://docs.iplanet.com/docs/manuals/psm/14/cmcjavascriptapi.html>,
> if you know someone better I would be please if you can send me also
> that link.
> 
> I found a post from Hong Qiu (that seems to have changed is mail) in
> "netscape.public.mozilla.crypto" mailing-list
> 
><http://groups.google.com/groups?q=psm+api+javascript&hl=en&selm=3AA407F5.BF42811%40certicom.com&rnum=1)>
> and I seem that is problem was the same!
> 
> If anyone knows somthing about that, please provide me some help...
> 
> Thanks in advance,
> Ricardo Barroso

Possible bugs that you could be seeing (note that I know nothing about 
the crypto object or its status):
http://bugzilla.mozilla.org/show_bug.cgi?id=81249
http://bugzilla.mozilla.org/show_bug.cgi?id=104103

-Fabian.


Reply via email to