SSL error(s) on What's New web page load #21518
Labels
Authentication
Related to the QGIS Authentication subsystem or user/password handling
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
High Priority
Milestone
Author Name: Larry Shaffer (Larry Shaffer)
Original Redmine Issue: 13471
Affected QGIS version: master
Redmine category:authentication_system
Assignee: Larry Shaffer
For some reason, the Qt application trusted Certificate Authorities are not being loaded into the @QgsWebPage@ upon requests, resulting in:
Started happening after the proxy support, i.e. using @QgsNetworkAccessManager@, was added to the new welcome page.
Setting the SSL cert exception is a workaround, but should not be needed. It appears that no trusted Certificate Authorities are being added to the @QgsWebView@ requests. This is very odd, especially because if you inspect the certificate chain and trusted certs from within the SSL error dialog everything is there. I even tried adding the specific cert authorities to QGIS's new cert manager, with no luck.
Next I tried commenting out the @QNetworkRequest@ hack in @QgsNetworkAccessManager@ for HTTPS requests, but that had no effect either.
It seems that the @QWebPage@ requests are maybe in a different thread and the SSL errors, as handled by the @QgisApp@, are just a response to a signal, but not being honored in the calling thread. Still it doesn't explain why the CAs are not being passed to the @QgsWebView@ to begin with.
The text was updated successfully, but these errors were encountered: