Setreg (the Set Registry utility) changes registry settings for public key cryptography.
setreg [-q] {[Choice# [TRUE|FALSE]}
Argument | Description |
---|---|
-q | Quiet mode. The registry is set, but key values are not displayed. |
Choice# | 1– Trust the test root.
2 – Use expiration date on certificates. 3 – Check the revocation list. 4 – Offline revocation server OK (individual). 5 – Offline revocation server OK (commercial). 8 – Invalidate version 1 signed objects. 9 – Check the revocation list on Time Stamp Signer. 10 - Only trust items found in the Trust database. |
The following sets the registry to trust the test root (the root of all test certificates created with makecert) and displays key values.
setreg 1 TRUE
The following sets the registry to not check the revocation list, and not display key values.
setreg -q 3 FALSE