My knowledge about https and redirection is not that good. So far I have created an http server in java and I am redirecting https traffic using iptables in linux.
It