socat with OpenSSL version 2 & 3 support.
Repo for the gist I originally had here.
Run the build.sh
script, tested on Kali Linux. Alternatively, build the docker container with docker build -t socat23 .
.
Installation using the build.sh
script on Kali Linux will provide a new socat23
command to use. For the docker image, example invocation would be:
Window 1
docker run --rm -p 50000:80 socat23:latest socat -v -ls tcp4-listen:80,fork,reuseaddr ssl:www.google.com:443,verify=0
Window 2
curl http://localhost:50000/ -H "Host: www.google.com"