Re: Adding self-signed cert to database

2009-08-14 Thread Ian G
On 14/08/2009 19:46, Aditya Ivaturi wrote: An explanation of the alphabetic characters may be found on mozilla's web site at http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html#... Back in college, I used to have a professor who had a RTFM rubber stamp. And if he were here,

Re: Adding self-signed cert to database

2009-08-14 Thread Aditya Ivaturi
> > If you know that it is a server cert, you can also use the > 'nsNSSCertificateDB::ImportServerCertificate() method > (http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/sr... > ). > You have to convert base64 data to DER format before using this method. > I have solved my curre

Re: Adding self-signed cert to database

2009-08-14 Thread Aditya Ivaturi
> An explanation of the alphabetic characters may be found on mozilla's web > site at > > http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html#... > Back in college, I used to have a professor who had a RTFM rubber stamp. And if he were here, he'd have stamped it on my forehead. I

Re: NSS_NoDB_Init returns failure code -8192

2009-08-14 Thread Wan-Teh Chang
On Fri, Aug 14, 2009 at 5:27 AM, Abhishek Rahirikar wrote: > Hello: > > I am using NSS_NoDB_Init() function to initialize the NSS (I have used > PR_Init() before this call as said in the documentation). > > After passing NULL as the argument, I am getting SECFailure as return value. > > PR_GetError

NSS_NoDB_Init returns failure code -8192

2009-08-14 Thread Abhishek Rahirikar
Hello: I am using NSS_NoDB_Init() function to initialize the NSS (I have used PR_Init() before this call as said in the documentation). After passing NULL as the argument, I am getting SECFailure as return value. PR_GetError returned value -8192 which says : An I/O error occurred during authen