Adding certificates to the nss database

2007-07-02 Thread cdolivei . bugzilla
I'm having a tricky problem. What I am trying to do is to add an object signing certificate to the NSS database. This can be done using certutil, yes. But this is a xulapp that uses nsINSSCertCache, which I fear is causing problems. I need to know how to import object signing certificates to the d

Re: nss and mozilla database

2007-06-27 Thread cdolivei . bugzilla
> I was under the impression that this wasn't Cesar's primary goal, since > he previously wrote that "I am trying to understand certificate > authorities and how the process goes". > > So, for educational purposes, such a cert will do the trick. On the > other hand, if the XPI file should be distri

Re: nss and mozilla database

2007-06-22 Thread cdolivei . bugzilla
> > Now I need a private key from ~/.xulapp to sign my object. To the best > > of my knowledge, I create a certificate request and use ~/.ca to > > validate it. That is what I did. I then imported the file. This is the > > output with certutil -L > > Common Name - Organization

Re: nss and mozilla database

2007-06-19 Thread cdolivei . bugzilla
On Jun 18, 3:41 am, Kaspar Brand <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > If I got that part right, then when I loaded the x509.cacert into my > > XUL application and tried to use signtool to sign an archieve, it was > > failing because I was trying to sign with a public key. > > O

Re: nss and mozilla database

2007-06-16 Thread cdolivei . bugzilla
> Is that really the verbatim output of signtool -l? Does your self-signed > cert have "Common Name - Organization" as its name? That is correct, this is just a test self-signed cert. > "security library: bad database" is a somewhat generic error you'll > encounter when signtool fails to find a c

nss and mozilla database

2007-06-14 Thread cdolivei . bugzilla
I've been hitting a strange error when trying to use NSS tools with the certificates databases in Mozilla (mainly XULRunner, but I got the same result in Firefox). I have created a self-signed certificate and loaded it into my XUL app. When I go into into my profile directory, I am able to view it