http://bugs.winehq.org/show_bug.cgi?id=26203
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2011-02-22 14:05:29 CST --- It appears that wininet isn't passing the new hostname when dealing with a redirect:
trace:chain:match_dns_to_subject_dn L"gmail.com" (snip) trace:chain:match_common_name CN = L"mail.google.com" trace:chain:match_common_name returning 0
It should be verifying mail.google.com once it's been redirected there.