I have to install .p7b certificate silently. I have tried with the below command.

certmgr -add -c "MyCA.p7b" -s -r currentUser Root

But I am getting a Security Warining message with the below information.

"your are about to install a certificate from a certificate authory (CA) claiming  to represent:

Warning: If you install this root certificate, Windows will automatically trust any certificate issued by this CA. Installing a certificate with an unconfirmed thumbprint is a security risk. If you click "yes" you acknowledge this risk.

As per our requirement I need to click on Yes button. I want to make this window as silent, but i am not able to do this.

Can any body help on this?



0 Comments   [ + ] Show Comments


Please log in to comment



cert managment in windows is terrible.  You can try wrapping with a VBScript that auto clicks "yes"...(clickyes.exe)...or something to that effect.  there are lots of solutions to that scenario on the web.

Answered 06/11/2012 by: LordCruz
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity