http://bugs.winehq.org/show_bug.cgi?id=21096
--- Comment #26 from Juan Lang juan_lang@yahoo.com 2010-09-28 14:13:48 CDT --- (In reply to comment #23)
Ah, seems I'm getting 12055, ERROR_INTERNET_SEC_CERT_ERRORS. Let me try an older wine version...
That can only happen if OpenSSL is rejecting the certificate chain: http://source.winehq.org/source/dlls/wininet/netconnection.c#L297 http://source.winehq.org/source/dlls/wininet/netconnection.c#L339
In this case, no crypto code is called, and there's frankly nothing we can do about it. Are you sure the certificate used is a) valid, and b) that OpenSSL trusts it? You may have to install the root certificate somewhere.
(There's nothing in the +crypt,+chain log related to the connection, either, just the usual background noise.)