proxy
proxy copied to clipboard
Target doesn't need target key
It's absurd we have to give the remote server tls key when we tls Dial otherwise it wouldn't be an asymmetric cryptographic protocol.
Private key should stay private.
For example see https://pkg.go.dev/crypto/tls#example-Dial