http://bugs.winehq.org/show_bug.cgi?id=24032
--- Comment #6 from Tw3aky tw3aky@gmail.com 2010-08-23 07:47:08 --- Created an attachment (id=30326) --> (http://bugs.winehq.org/attachment.cgi?id=30326) wireshark trace (filter:host secure.ubi.com)
Apparently there is an alert: Unknown CA in the connection, i guess this is why the error: Couldn't verify server certificate shows up in the wine terminal output.
As far as i could see, secure.ubi.com uses a Thawte signed certificate on their server. My Apple keychain contains the Thawte Root CA and it is trusted as i can log in on the site .
For OpenSSL, however, i've noticed i have 2 installations on my box. One provided by Apple (/System/Library/OpenSSL) and one installed by Macports (/opt/local/<somewhere>)
When i type 'OpenSSL version -d' in the terminal it returns:OPENSSLDIR: "/opt/local/etc/openssl", so i presume this is the base dir for the openssl wine uses? I've created the /opt/local/etc/openssl/certs directory, downloaded the Thawte Root CA to that directory and created the symlink <hash>.0 for it and verified the root certificate (as i don't have the specific server certificate) which returned OK.