User Tools

Site Tools


Curl doesn't use SNI 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: d/m/Y H:i by domingo