WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
29413
[Qt] Load of SSL web site fails in handshake
https://bugs.webkit.org/show_bug.cgi?id=29413
Summary
[Qt] Load of SSL web site fails in handshake
Tor Arne Vestbø
Reported
2009-09-18 07:34:57 PDT
This bug report originated from issue QTBUG-3691 <
http://bugreports.qt.nokia.com/browse/QTBUG-3691
> --- Description --- 1. Build Qt 4.5 with OpenSSL 2. Run the demo browser. 3. Enter the following url:
https://profile.mail.goo.ne.jp
You get a "SSL handshake failed" message.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryuichi KUBUKI
Comment 1
2010-01-17 22:00:58 PST
It's still broken with Qt 4.6.0 + OpenSSL 0.9.8l on Windows.
Ryuichi KUBUKI
Comment 2
2010-01-17 22:09:02 PST
It also happens at the Yahoo! sign-in link at
http://m.www.yahoo.com/
which loads
https://login.yahoo.com/
UKuhn
Comment 3
2010-02-02 08:10:25 PST
Might this simply have to do with the "protocol" used? I am having a similar problem with an SSL server of a customer. Using Qt 4.5.2 with Windows. A simple QNetworkReply reply = QNetworkAccessManager.get(... URL with https ...) And in the finished() slot: reply.error() == 6 (= SSL handshake failed) No SSL error was raised before. However setting the used protocol to QSsl::TlsV1 it works: QSslConfiguration ssl = QSslConfiguration::defaultConfiguration(); ssl.setProtocol(QSsl::AnyProtocol); QSslConfiguration::setDefaultConfiguration(ssl); This also works with the server in the first comment. If this is the reason this might be just a missing error message of Qt or OpenSSL.
Tor Arne Vestbø
Comment 4
2010-03-11 05:38:25 PST
Confirmed in trunk
Jędrzej Nowacki
Comment 5
2010-03-18 08:55:59 PDT
I can confirm it with the WebKit trunk but only on Windows, on Linux it works fine. Each time when I connect via https protocol, page with message "Error creating SSL context ()" is displayed.
Simon Hausmann
Comment 6
2010-03-18 15:31:48 PDT
(In reply to
comment #5
)
> I can confirm it with the WebKit trunk but only on Windows, on Linux it works > fine. > > Each time when I connect via https protocol, page with message "Error creating > SSL context ()" is displayed.
Do you have the OpenSSL dlls installed?
Jędrzej Nowacki
Comment 7
2010-03-19 02:53:26 PDT
(In reply to
comment #6
)
> Do you have the OpenSSL dlls installed?
Oops. After the installation I see "SSL handshake failed" message. I have checked a few pages;
https://www.skandiabanken.no
=> SSL handshake failed
https://secure.inteligo.com.pl/
=> page loads but it is completely busted
https://poczta.onet.pl/login.html
=> works (as a mobile/light version)
https://gmail.com
=> SSL handshake failed, but connecting via http and then secure login is possible.
Jocelyn Turcotte
Comment 8
2010-03-29 06:12:35 PDT
(In reply to
comment #2
)
> It also happens at the Yahoo! sign-in link at
http://m.www.yahoo.com/
which > loads
https://login.yahoo.com/
Same problem on Windows, go on
http://my.yahoo.com
, click Sign in, I get either an handshake failed, or a connection closed message. (In reply to
comment #7
)
> I have checked a few pages; >
https://www.skandiabanken.no
=> SSL handshake failed >
https://secure.inteligo.com.pl/
=> page loads but it is completely busted >
https://poczta.onet.pl/login.html
=> works (as a mobile/light version) >
https://gmail.com
=> SSL handshake failed, but connecting via http and then > secure login is possible.
These websites work for me on Windows. To have HTTPS support on Windows if you compiled your own Qt, you have to configure Qt with -openssl and make sure OpenSSL's INCLUDE and LIB environment variables are set accordingly.
Jesus Sanchez-Palencia
Comment 9
2010-05-12 13:23:39 PDT
Reproduced on Snow Leopard with Qt 4.7 trunk (HEAD 03f8f1df0d88f5ffe0b3120cffce614cbeefdb70) and WebKit trunk (
r59155
).
Ismail Donmez
Comment 10
2010-06-09 13:55:39 PDT
Also reproduced on Windows CE 5 & 6.
chinmaya sn
Comment 11
2010-06-18 19:33:59 PDT
I am planning to work on this issue, unless someone has already started.
Ismail Donmez
Comment 12
2010-07-05 07:17:53 PDT
(In reply to
comment #10
)
> Also reproduced on Windows CE 5 & 6.
This was another Qt bug, now fixed.
Suresh Voruganti
Comment 13
2010-08-12 12:55:50 PDT
I think this is issue with QtWebkit 2.1
Bug 43824
Suresh Voruganti
Comment 14
2010-08-12 12:56:49 PDT
(In reply to
comment #13
) I mean to say, issue still exists with QtWebkit 2.1 also
Suresh Voruganti
Comment 15
2010-08-27 07:41:32 PDT
Is this issue with Qt?
http://bugreports.qt.nokia.com/browse/QTBUG-13033
Simon Hausmann
Comment 16
2010-08-27 08:07:36 PDT
(In reply to
comment #15
)
> Is this issue with Qt? > >
http://bugreports.qt.nokia.com/browse/QTBUG-13033
The original bug report was for Windows, which makes it unrelated to QTBUG-13033 (which results in a freeze due to Symbian specific code).
Richard Moore
Comment 17
2011-01-07 13:25:26 PST
Is this issue currently reproducible (last comment is from August)? If so on which sites? It /could/ be the result of Qt missing some of the workarounds a browser generally does for the client (see
http://www.imperialviolet.org/binary/draft-agl-tls-op-practices-00.html
for details) but may not be. If a list of sites is determined then checking which connection options are causing the issue would be possible without too much work.
kasthuri
Comment 18
2011-02-14 16:04:46 PST
(In reply to
comment #17
)
> Is this issue currently reproducible (last comment is from August)? If so on which sites? > It /could/ be the result of Qt missing some of the workarounds a browser generally does for the client (see
http://www.imperialviolet.org/binary/draft-agl-tls-op-practices-00.html
for details) but may not be. If a list of sites is determined then checking which connection options are causing the issue would be possible without too much work.
Tried on latest webkit trunk running in linux with Qt 4.7 and the reported secured sites are opening up properly.
Divya
Comment 19
2011-02-19 05:23:59 PST
Tried to launch
https://gmail.com
and I am facing "SSL handshake failed" error.
kasthuri
Comment 20
2011-02-21 16:22:16 PST
(In reply to
comment #19
)
> Tried to launch
https://gmail.com
and I am facing "SSL handshake failed" error.
Try
https://mail.google.com
. I think this could be because of SNI handling in qt ssl proxy.
Alexis Menard (darktears)
Comment 21
2011-05-05 05:49:11 PDT
Quoting Peter : "Did you connect to
https://skandiabanken.no
? The certificate is issued for www.skandiabanken.no, so you need to connect to
https://www.skandiabanken.no
, then it works. Similar problem with
https://gmail.com
: The certificate is issued for mail.google.com, so entering
https://mail.google.com
works. It works for 4.8 because we use a feature called Server Name Indication; btw. browsing to
https://gmail.com
fails for several older versions of browsers, e.g. it fails with any IE on Windows XP. So no bug in Qt, just the usual certificate stuff. In general, it is just a bad idea to enter https:// addresses manually unless you know the exact host name contained in the certificate. " The demo browser doesn't have a proper handling for certificates like FF or other do (well it's a demo :D). If I get no objections I'll be for closing the bug and with 4.8, the sky will be clearer.
Luiz Agostini
Comment 22
2011-05-18 14:05:52 PDT
Closing.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug