http://bugs.winehq.org/show_bug.cgi?id=21096
--- Comment #27 from Austin English austinenglish@gmail.com 2010-09-28 14:17:25 CDT --- (In reply to comment #26)
(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.
Crypto always confuses me, so no I can't be sure :-).
The certificate was one I generated for just this purpose (Azureus has you generate one before setting up an https tracker).
What I do know is that with no fiddling on my win7 work PC, I installed utorrent and opened that torrent, it downloads. In wine 1.1.33, the same (it does give 'err:wininet:NETCON_secure_connect couldn't verify the security of the connection, 18' though). In 1.1.35+, fails. Sometime between 1.1.35 and git, the error changed from 12157 to 12055.
I'm currently bisecting the first regression, though there are several commits that fail with a different error: err:wininet:NETCON_secure_connect SSL_connect failed: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
I've been skipping those.