As
RonW noted, it's a DB alright, and likely Sqlite3, as Mozilla has been using that for some time.
But for the sake of [Perl] scripting. I thought it might be helpful -- see; mandatory, to actually know how to use certutil. As it would be otherwise pretty near impossible to respond with anything creative, or of much value. :)
Mozilla, has apparently hidden the previous link they offered for it's usage. But The WayBack Machine gave me a copy to view. So I'll share it here. :)
--Chris
¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH