Skip to content Skip to sidebar Skip to footer

Failure While Calling Nsix509certdb.nsix509certdb From Command Line

I'm trying to develop a FF extension that calls nsIX509CertDB.nsIX509CertDB. When calling this function from a xpcshell I alwas receive a error 0x80004005 (NS_ERROR_FAILURE). I sus

Solution 1:

This would most likely involve writing code to replace @mozilla.org/nsCertificateDialogs;1 component (implementing nsICertificateDialogs interface). Then you could implement getPKCS12FilePassword method any way you like.

The simpler approach would be using pk12util tool included in NSS. Unless this really needs to be done via xpcshell of course.

Post a Comment for "Failure While Calling Nsix509certdb.nsix509certdb From Command Line"