Skip to content

Fix some syntax errors #694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions mitm/README.md
Original file line number Diff line number Diff line change
@@ -61,11 +61,11 @@ By default, when using the MITM module with LittleProxy, the CA Root Certificate

// save the newly-generated Root Certificate and Private Key -- the .cer file can be imported
// directly into a browser
rootCertificateGenerator.saveRootCertificateAsPemFile(new File("/tmp/certificate.cer");
rootCertificateGenerator.savePrivateKeyAsPemFile(new File("/tmp/private-key.pem", "password");
rootCertificateGenerator.saveRootCertificateAsPemFile(new File("/tmp/certificate.cer"));
rootCertificateGenerator.savePrivateKeyAsPemFile(new File("/tmp/private-key.pem"), "password");

// or save the certificate and private key as a PKCS12 keystore, for later use
rootCertificateGenerator.saveRootCertificateAndKey("PKCS12", new File("/tmp/keystore.p12",
rootCertificateGenerator.saveRootCertificateAndKey("PKCS12", new File("/tmp/keystore.p12"),
"privateKeyAlias", "password");

// tell the ImpersonatingMitmManager use the RootCertificateGenerator we just configured
@@ -161,4 +161,4 @@ significant performance benefits. The MITM module itself requires no additional
See Netty's OpenSSL instructions for details: http://netty.io/wiki/requirements-for-4.x.html#tls-with-openssl

## Acknowledgements
The MITM module would not have been possible without the efforts of Frank Ganske, the Zed Attack Proxy, and Brad Hill. Thank you for all your excellent work!
The MITM module would not have been possible without the efforts of Frank Ganske, the Zed Attack Proxy, and Brad Hill. Thank you for all your excellent work!