Moved entire SSL keys and certificate generation routine into the program itself. Now it will be able to generate interception (MITM) cert for the proxy at startup, as well as perform necessary cleanup at `finally' block of the try..catch in main().
Moved entire SSL keys and certificate generation routine into the program itself. Now it will be able to generate interception (MITM) cert for the proxy at startup, as well as perform necessary cleanup at `finally' block of the try..catch in main().

mgeeky/proxy2