http://bugs.winehq.org/show_bug.cgi?id=11444
--- Comment #38 from Ben Peddell klightspeed@netspace.net.au 2008-12-05 06:40:07 --- Created an attachment (id=17655) --> (http://bugs.winehq.org/attachment.cgi?id=17655) WINEDEBUG=+wininet,+winsock log containing only failing HTTPS request
(In reply to comment #37)
All requests succeed according to that log, so I'm not convinced that this is a wininet bug. The second line in your log is worrying though:
err:module:attach_process_dlls "rpcrt4.dll" failed to initialize, aborting
Are you using a clean prefix?
I just deleted my prefix and PotC is still unable to authenticate me. However, Wine does not complain about rpcrt4.dll failing to initialize. I had a look at a packet capture - the launcher _still_ sends a PLAINTEXT HTTP request on the SSL HTTPS port - in other words, it tries to use port 443 as a HTTP port rather than a HTTPS port. The lack of a SSL handshake causes the server on the other end to terminate the connection.