recreating_MITM_certificate.md
May 20, 2022 ยท View on GitHub
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 !
- Run the build step
- remove all the content of
utils/proxy/.mitmproxy - run a scenario (it will fail)
utils/proxy/.mitmproxyshould have new certificate (one.cerfile, two.p12files and three.pemfile)- update
utils/scripts/install_mitm_certificate.shwith the content ofutils/proxy/.mitmproxy/mitmproxy-ca-cert.cer
Et voila :tada: