Skip to content

Commit

Permalink
Fix some syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nightscape authored Sep 1, 2017
1 parent 89c876c commit fba8e4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mitm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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!

0 comments on commit fba8e4c

Please sign in to comment.