A simple Windows program which can hold an embedded SSL/TLS certificate (.cer file) and provides a button to trust or untrust that certificate.
-
Download from the releases section and extract somewhere.
-
Run
CertTrustManager.exe. Because we're dealing with certificate trust, administrator permission is required. -
Right-click anywhere in the body of the panel, then click the button in the context menu to browse for a
.cerfile to embed. -
Use the Browse panel to open a
.cerfile. In the current working directory, a new exe will be written, named after your.cerfile. This new exe is a copy of CertTrustManager with your.cerfile embedded.
People can instruct their Windows systems to trust your certificate simply by running the exe you gave them, and clicking Trust Certificate. When the certificate is trusted, the Trust Certificate button changes to Untrust Certificate so trust can be easily revoked.
CertTrustManager has basic support for command-line usage so you can use it from a script.
Usage: CertTrustManager.exe [trust|untrust|istrusted]
trust - The embedded certificate will be trusted
untrust - The embedded certificate will be untrusted
istrusted - application will write "trusted" or "untrusted" to stdout

