Re: Adding certificates to the nss database

2007-07-09 Thread Robert Relyea
Nelson B wrote: [EMAIL PROTECTED] wrote: 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. You shouldn'

Re: Adding certificates to the nss database

2007-07-07 Thread Subrata Mazumdar
Assuming that you have an X.509 certificate in either Base64 or DER format, you can use the nsIX509CertDB.importUserCertificate() method: http://www.xulplanet.com/references/xpcomref/ifaces/nsIX509CertDB.html#method_importUserCertificate. Notice that, this method expects that the private key for

Re: Adding certificates to the nss database

2007-07-06 Thread Nelson B
[EMAIL PROTECTED] wrote: > 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. You shouldn't be manipulating th

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