mitm is a general purpose man-in-the-middle TLS proxy
go get github.com/petethepig/mitm
Usage of mitm:
-bind-addr string
bind address (default ":443")
-ca-cert string
path to CA certificate path
-ca-key string
path to CA key path
-init
call with this flag to generate CA key and cert