How can I sign something with a certificate from a untrusted issuer?

2008-02-25 Thread michael duan
Hi guys, I am very insterested at NSS and try to use it now. I wrote some test code for signing file like cmd-p7sign.c, but I met a problem about signing something with a untrusted certificate. So I want to know whether we could do that or not? Another question is: How can I get the information a

Re: Cert_DecodeDERCertificate?

2008-02-25 Thread Robert Relyea
Stephen Hamilton wrote: Nelson, Thanks for the quick response. Cert_NewTempCertificate works well with the redefinition statement from nssrenam.h. This is for my Master's project, so I needed an explanation of what was going on, and this helps tremendously. Stephen Cert_NewTempCertific

Re: problems building NSS 3.11.4 on Solaris

2008-02-25 Thread Wan-Teh Chang
On Mon, Feb 25, 2008 at 12:05 AM, Gatfield, Geoffrey <[EMAIL PROTECTED]> wrote: > Hello, > > I've resolved the problem. We use gmake 3.77 which doesn't implement the > abspath function. But rather than give any hint that it failed it just > resolves to nothing. Once I knew this I replaced the fu

Re: SEC_ERROR_BAD_SIGNATURE with Firefox 3

2008-02-25 Thread Christophe Thiaux
Robert Relyea a écrit : > Ah... So in Firefox 2 you get a dialog that warns you the certificate > is bad? In Firefox 3 it prevents you from connecting? Yes, exactly. > This is operating exactly as planned. both Firefox 2 and Firefox 3 > have rejected the certificate as bad since the certificate

RE: problems building NSS 3.11.4 on Solaris

2008-02-25 Thread Gatfield, Geoffrey
Hello, I've resolved the problem. We use gmake 3.77 which doesn't implement the abspath function. But rather than give any hint that it failed it just resolves to nothing. Once I knew this I replaced the function with a shell script and now the build completes successfully. Thanks. -Origina