Skip to content

Commit

Permalink
chore(docs): update README to reflect certificate process changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArachisH committed Apr 7, 2024
1 parent 30289ec commit 649b9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ HTTP/2 is **not** a currently supported protocol, as well as the following HTTP/
### Generating & Installing the Certificate Authority
Before we can begin intercepting HTTPS requests from the machine, we first need to install a self-signed certificate into the root store of the machine. This certificate will act as the CA for the subsequent certificates we will be issuing to every domain/request intercepted that requires encryption(HTTPS).
```cs
bool success = Eavesdropper.Certifier.CreateTrustedRootCertificate();
bool success = Eavesdropper.CertProvider?.TryCreateTrustedRootCA("Eavesdrop");
```
The result of this method will let us know if permission was granted by the user for installation into the root store, and if the installation of the CA into the root store succeeded. If the CA was installed with an elevated application process, then you will also require elevated permissions to remove the CA from the root store.

Expand Down

0 comments on commit 649b9be

Please sign in to comment.