I am having a similar issue. I have a WebAssembly app using Websockets to communication from the WebAssembly app in the client computer browser to an app on the host computer. Works fine with normal http, but we want to go to https.
I tried to use the sslechoserver and sslechoclient sample apps in the QtWebSockets example area, but while they work when compiled with normal Qt, when I try to compile the sslechoclient in Qt for WebAssembly (Qt 6.10), I get errors because SSL is not supported. I get the impression you had a possible solution above, but I do not really understand what it was.
Do I just use the normal echoclient (built in QtWebAssembly) requesting a wss URL combined with host sslechoserver with the same cert that the web server provides ?
Thanks for the help
Dale Pennington