Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jaykishanmutkawoa/3d8f27fedceda7464d7a1f15381aa172 to your computer and use it in GitHub Desktop.
Save jaykishanmutkawoa/3d8f27fedceda7464d7a1f15381aa172 to your computer and use it in GitHub Desktop.
Testing SOCAT work for TLS 1.2
On server
socat OPENSSL-LISTEN:443,reuseaddr,cert=/etc/server.pem,cafile=/etc/client.crt echo
On client
socat stdio OPENSSL-CONNECT:Socat-TLS-Server:443,cert=/etc/client.pem,cafile=/etc/server.crt
Wirehark was launched, and we can noticed the tls 1.2 handshake
@jaykishanmutkawoa
Copy link
Author

wireshark2
wireshark2

@jaykishanmutkawoa
Copy link
Author

wireshark3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment