Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 657 Bytes

recreating_MITM_certificate.md

File metadata and controls

10 lines (7 loc) · 657 Bytes

MITM use a self-signed certificate that allow traffic inspection. This certificate has an expiration date. If system tests are not working at all, and the stdout of one proxy says something like The mitmproxy certificate authority has expired!, you need to renew it. Don't panic, it's easy !

  1. Run the build step
  2. remove all the content of utils/proxy/.mitmproxy
  3. run a scenario (it will fail)
  4. utils/proxy/.mitmproxy should have new certificate (one .cer file, two .p12 files and three .pem file)
  5. update utils/scripts/install_mitm_certificate.sh with the content of utils/proxy/.mitmproxy/mitmproxy-ca-cert.cer

Et voila 🎉