Hi Jana,

I had the same problem as you, and I solved this programming a method in 
an applet that searches manually for the Firefox´s profile directory in 
the hard disk (System.getProperty("user.home") + "/.mozilla/firefox" in 
Linux). Once I´m searching in this directory, i look for a directory 
which has cert8.db inside, and i select his path.

I think that this could help you.

Regards.
Jesús el tuty

Jana Nguyen escribió:
> Hi,
>
> Is there an api or a way to get the mozilla cert db without declaring
> the absolute path of the cert db?
>
> My problem is I have to predefined the path of my mozilla db dir using
> pk12util.  The problem is that this will not work for other user's
> because each person mozilla's db directory name's are different.
>
> I've looked in JSS (Java Security), and there seem's to be no api or
> method that get me the user's mozilla db because the pkcs12 api
> requires you to pass in the mozilla db file.
>
> If anyone out there had found a way to get the mozilla db without
> having to predefined the complete path name, please help.  There's no
> way I can predetermine what mozilla db dir name will be for each user.
>
> I am using a linux environment.
>
> Thanks.
> _______________________________________________
> dev-tech-crypto mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
>   

_______________________________________________
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to