I want to test how my server behaves for a client that have a switch for disabling or doesn't have SNI support at all. Preferably, one with a command-line interface and in official repositories.
Can I disable SNI in wget or curl?
1 Answer
openssl s_client without specifying -servername:
echo | openssl s_client -connect ###.###.###.###:443 2>/dev/null | awk '/Certificate chain/,/---/'vs
echo | openssl s_client -connect domain.name:443 -servername domain.name 2>/dev/null | awk '/Certificate chain/,/---/'