SSL: no alternative certificate subject name matches target host name 'id.twitch.tv'

Yes, I have same result in browser but when call the API with curl receive :
cURL error 51: SSL: no alternative certificate subject name matches target host name ‘id.twitch.tv