Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.5.1
-
None
Description
I use QWebsockets to access SSL's websocket server and prompt for ERR_ CERT_ Authorization_ INVALID error, code as follows:
QWebSocket * m_webSocket=new QWebSocket("", QWebSocketProtocol::VersionLatest, this);
m_webSocket->setProxy(QNetworkProxy::NoProxy);
#ifndef ISEMSCRIPTEN
QSslConfiguration config;
config.setPeerVerifyMode(QSslSocket::VerifyNone);
config.setProtocol(QSsl::TlsV1_2);
m_webSocket->setSslConfiguration(config);
#endif
QUrl newUrl=QUrl{url.toString()+"?token=Bearer "+m_token};
m_webSocket->open(newUrl);
How should I set up SSL in WebAssembly?