quicknanobrowser and youtube - SSL connection error
-
Hi all,
Is there a way to handle SSL connections with the QtWebEngine.
I would realy like to open a video from youtube in a fancy window but quicknanobrowser can't handle https connections.Can someone give me an example how to handle such connections?
-
Hi,
I haven't played with QtWebEngine yet but what comes to mind is: do you have OpenSSL installed on your system ?
What OS/Qt version are you using ?
-
@SGaist
Hi,
Openssl is installed and I use Fedora/Qt 5.5.1Package openssl-1:1.0.2f-1.fc23.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete!
-
@SGaist
Can you tell me if this SSL problem also happens on your OS ? -
I used a new Fedora installation and quicknanobrowser is working fine to open https connections.
Now I have to see why it does't work on my upgraded fedora machine? -
What are the difference between the two Fedoras install ?
-
@SGaist that's a verry good question :-)
It must be something in the ssl settings (if there are some) or missing packages .. I don't know. I have no Idea where to look for. -
You could list the installed package from both system and compare them
-
I'm unable to connect to Youtube, Google, and Twitter with any browser running QtWEbEngine on an Ubuntu Trusty base due to an SSL connection error. I'm able to connect to those web site on a Debian Jessie base.
-
I'm seeing the same problem on Ubuntu 14.04 running demobrowser in Qt 5.6.0.
I have "SSL Connection Error".
Searching around I see that this is a QtWebEngine bug.
https://bugreports.qt.io/browse/QTBUG-52068
https://bugs.launchpad.net/ubuntu/+source/nss/+bug/1547133
=========================================================
Quoting from above reports ..
Ubuntu bug #1547133 at https://bugs.launchpad.net/ubuntu/+source/nss/+bug/1547133 is likely affecting WebEngine. All supported versions of Ubuntu are now using nss version 3.21. When I tested WebEngine on Debian Jessie which has nss version 3.17 the Google sites connected. The newest version of nss is 3.23 which the supported versions of Fedora are now using.
I downgrade to 3.15 version of libnss and it works!
(3.15 is available in Ubuntu's repository)
Thank you, ronbu.Inspecting my Ubuntu 14.04 packages I have these installed ...
2:3.21-0ubuntu0.14.04.2 (trusty-updates)
2:3.15.4-1ubuntu7 (trusty)So I have to work out how to downgrade to 3.15.
[Later edit]
I have found this reference ...
https://productforums.google.com/forum/#!topic/chrome/rxBgSMEkKC8
but it's proving tricky to go through the steps of forcing version in Synaptic Package Manager.
I have these installed ...
libnss3
libns3-1d
libnss3-nssdbIf I try to uninstall libnss3 it will remove too many other programs depending on libnss3.
-
@xenotrax In the console of your target board, just export the following variable.
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
The other way you can do this is by writing an initscript, simply exporting this variable.