views:

433

answers:

0

I need to automate installation of SSL certificates using scripts. I have been able to import server certificate from .pfx file using:

certutil -user –p 123 -importpfx "C:\Users\test\Desktop\ISServer.pfx"

However, it stores the certificate in Personal folder of Current User. I need to store it in "Trusted People" folder. Is there a way to do this using CertUtil or any other utility?

CertMgr.exe only install .cer files, not .pfx files.

Please provide any help.

Thanks. Naveed