http://bugs.winehq.org/show_bug.cgi?id=27168
--- Comment #16 from Ilya Konovalov aragaer@gmail.com 2011-09-11 08:55:17 CDT --- Created an attachment (id=36326) --> (http://bugs.winehq.org/attachment.cgi?id=36326) Store intermediate certificates to in-memory store
If you want something done, do it yourself...
Investigation shows that both https sites I've tried to open in IGB are signed with certificates which require some intermediate certificates (provided by the same servers as well). Current implementation of secur32 does nothing with certificates other than first one.
I've added the following: if there is more than one certificate, create an in-memory store for that certificate and push all extra certificates into it. The result is working https in IGB. See the attached patch.
The only problem is that the store has to be removed once the certificate is no longer used.
I've also found a few bugs in crypt32 during my investigation. The patch could be found here: https://gist.github.com/1209583