SSL error when I curl a site on

This is a common question we get from customers.

When I curl to the site, it gives me an error of

$ curl 
curl: (51) SSL: certificate subject name '' does not match target host name '' 

This is because uses SNI to negotiate SSL(see You will need to add the host header to the curl command

$ curl -H "Host:"