User Tools

Site Tools


Curl doesn't use SNI by default so you need to do some flick-flacks to get it done:

curl -vk --resolve

“” this part is all about getting curl to the right destination by injection “” into curl's own DNS cache.” is again about getting curl to insert the SNI header into the client ssl handshake by using a DNS name (which is then controlled by the –resolve statement).

curl -kv --resolve is the server you want to hit. is the SNI name you want to send to the server.

howtos/curl_and_sni.txt · Last modified: 12/07/2024 13:49 by domingo