windows - How to import a pfx using certutil without prompt? -


I want to import a PFF using CMD. I am using the certificate for this but I am asking for immediate relying on the certificate. I want to automate the import, so I want to leave the warning signal. How can I do this?

warning signal

I am command certutil -f-user -p PASSWORD -importpfx c: \ cert.pfx

That you are trying to add a "CA certificate" in the "Trusted Root Certification Authority" store. In fact, when you use "certutil -f -user -p PASSWORD -importpfx c: \ cert.pfx" to import a PFX certificate, then there are two actions:

  1. Add a personal certificate (which includes the private key in the "Private" store.
  2. Add a CA certificate to the "Trusted Route Certification Authority" store.

This is the second The action tells UAC the reason for making a warning dialogue, because you "provide reliable root certification The "Rights" are trying to add a CA certificate to the store and this means that any web host holding this authentic will trust in the future, it is very important that the action and the user should be treated very carefully, Should not be done? Therefore UAC will warn the user to correct this action.

The only one to hold down the warning dialogue The method is, it is "You do not add CA certificates in the" Trusted Root Certification Authority "store by doing this:

  certutil -f -user -p PASSWORD -importpfx c: \ cert. Pfx noorut  

Add an individual certificate to the "Personal" store will not prompt any warning dialogue. However, in this way, the web host who keeps the CA certificate will not trust any more, and if you use HTTPS to access the web host it can be very disappointing.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -