pfximport(1) pfximport manual pfximport(1) NAME pfximport - imports PFX files (PKCS#12) into a certificate store SYNOPSIS pfximport -x [-p ] [-s user|computer] DESCRIPTION pfximport is just a small tool around some Windows API functions, which allows you to import PFX files from the commandline without user interaction. In fact it uses the same dialog which appears, if you open a PFX file in Explorer - but it is called with a flag set, which says, that the dialog should not appear - that's all. If the PFX is encrypted with a password, you have to provide it with the -p option. With the -s option you specify the target "store", where the imported certificate should be written to. OPTIONS -x Specifies the path to the PFX file to import. -p Password used to encrypt the PFX file while creation. If you didn't use a password, there is no need for this option. -s user | computer Says where the imported data should be written to. "user" stands for the "current user's" certificate store. "computer" stands for the "local computer's" certificate store. If this option isn't used, Windows somehow tries to guess which store is the right one ... EXAMPLES pfximport -x MIMG1.p12 -s computer Imports the PFX file MIMG1.p12 into the local computer's certificate store. NOTES This program hasn't been tested on many setups! There sometimes is a very strange behaviour which seems to reverse the meaning of the -s option. So using "-s computer" might end up with an import into the current user's store - and the other way round with "-s user". At the beginning I thought that the Windows API header files have some bad #define's, but then I tried pfximport on another setup and there all was ok. pfximport should work on Windows 2000 Professional/XP and above. BUGS Well, this is a very "quick and dirty" tool - so there might be tons of bugs ... ;-) AUTHOR Written by Joachim Förster . COPYRIGHT Copyright (C) 2006 Joachim Förster This program is free software; see the source for copying conditions. There is NO warrenty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. pfximport(1) $LastChangedDate: 2006-09-13 14:43:18 +0200 (Mi, 13 Sep 2006) $