Hello all,

Im very much a newbie to mozilla cryptography but im hoping someone can
point me in the right direction, ive spent days trying to figure out what I
thought would be really straight forward.

I have a pkcs12 file (.p12) and I want to import this into firefox, but I
want it to put it into a batch script (so i can move from one pc to another
and just run it) 

>From what I gathered, It would be a case of building p12util.exe and using
that.

im quite literally using the following line to try and import the file

pkcs12.exe -i cert.p12 -v -W Pass

but I get an error:

certutil.exe: function failed: security library: bad database.

I know I should be using a -h option after cert.p12 but im not sure what
'token name' I'm meant to add as the parameter. Also are passwords etc meant
to be written in quotes or not?

Any help would be greatly appreciated!

EDIT:
if I add "-d ." to the line, It adds the certificate, but im not sure where,
ive tried pointing it at "-d C:\Program files\Mozilla Firefox" but goes back
to function failed?
-- 
View this message in context: 
http://old.nabble.com/importing-pkcs12-help-needed-tp27126544p27126544.html
Sent from the Mozilla - Cryptography mailing list archive at Nabble.com.

-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to