SSL error when I curl a site on section.io

This is a common question we get from customers.

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

$ curl https://www.example.com 
curl: (51) SSL: certificate subject name 'www.squixa.com' does not match target host name 'www.example.com' 

This is because section.io uses SNI to negotiate SSL(see https://en.wikipedia.org/wiki/Server_Name_Indication). You will need to add the host header to the curl command

$ curl -H "Host: www.goabroad.com" https://www.goabroad.com