ghostunnel

SSL/TLS proxy with mutual authentication for secure communications

brewmacoslinux
Try with needOr install directly
Source

About

Simple SSL/TLS proxy with mutual authentication

Commands

ghostunnel

Examples

Start a server listening on port 8443 with certificate and key$ ghostunnel server --listen localhost:8443 --target localhost:8080 --cert server.crt --key server.key --cacert ca.crt
Start a client proxy forwarding to a remote server with client certificate$ ghostunnel client --listen localhost:8080 --target remote.example.com:8443 --cert client.crt --key client.key --cacert ca.crt
Run server with mutual TLS requiring client certificates$ ghostunnel server --listen 0.0.0.0:9443 --target backend:8080 --cert server.crt --key server.key --cacert ca.crt --verify required