A script to setup and start a man in the middle proxy with openssl
git clone <repo>
cd mitm
bash -x ./mitm.sh listen_port dst_ip:dst_port setup
bash -x ./mitm.sh 1636 172.20.116.200:636 start
openssl s_client -CAfile server.crt -verify 5 -showcerts -connect localhost:$listen_port
bash -x ./mitm.sh 1636 172.20.116.200:636 stop