cert import script, batch file, ca , pfx

Hi experts..

 i have batch file for importing the pfx cert from local drive to the IE personal store.
i notice that the script is importing with Export key enabled, but i want to disable export key during the cert import.
can you please help...

Regards,
SK
Skumar_CCSAAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
becraigConnect With a Mentor Commented:
for /F "delims=" %%f in (c:\scripts\logs\cert_name.log) do certutil -f -user -p "cat!" -importpfx c:\cert\pfx\%%f NoExport >>>>%logpath% 2>&1
:end
0
 
becraigCommented:
If you are using certutil for import update your command to reflect

certutil -user -importpfx my cert.pfx NoExport
0
 
Skumar_CCSAAuthor Commented:
for /F "delims=" %%f in (c:\scripts\logs\cert_name.log) do certutil -f -user -p "cat!" -importpfx c:\cert\pfx\%%f  >>>>%logpath% 2>&1
:end

I use the above command....
can you pls help me where to put no export ?
0
 
Skumar_CCSAAuthor Commented:
thank you so much...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.