/build/static/layout/Breadcrumb_cap_w.png

How to install a .p7b certificate silently?

Hi,

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?

Regards,

Sanhivi


0 Comments   [ + ] Show comments

Answers (1)

Posted by: LordCruz 12 years ago
White Belt
1

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.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ