QtWebChannel unusable with https ?
-
Hi,
I am using QtWebChannel in mobile (Android and iOS) application to control Google Maps based webapp loaded with QtWebView from
http://our.domain.tld/map
, as result I have Google Maps in Qt mobile app, which is nice.But, I've tried to load https, and now I get error about WebSocket (in Desktop build, so it's QtWebEngine output):
js: Mixed Content: The page at 'https://my.domain.tld/map was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://localhost:12345/'. This request has been blocked; this endpoint must be available over WSS.
So this does not work. If that would be a desktop application, I could install self-signed CA on target system to make self-signed web socket certificate for
localhost
"valid", but what about mobile solutions?