none
How to automaticaly import the certificate (pfx) into the WebHosting store in server certificates

    Question

  • Hi,

    I want to import Pfx certificate in server certificate and I am using

    Invoke-Command {certutil -p reportserver -importpfx c:\test.pfx} Command to import it and I am able to see it in IIS server Certificate.

    But when i use this command it import certificate in Personal store but i want it to import in WebHosting store.

    for this perpose I ussed following command

    Invoke-Command {certutil -p reportserver -importpfx "WebHosting" c:\test.pfx} on execution of this command I get a message  that CA=test imported successfully but I am not able to see it in IIS server certificate and if I again execute that command it give error that certificate already in store.

    Can any one tell me how to Achive this. where the imported certificates are stored

    Thanks

    Monday, May 06, 2013 5:49 AM