Request failing with "hostname in certificate didn't match" on 10.2