Browse Source

Support TLS 1.2+ only in the server

Closes #18122
adaptive-webui-19844
sledgehammer999 2 years ago
parent
commit
b2213ded6d
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 1
      src/base/http/server.cpp

1
src/base/http/server.cpp

@ -101,6 +101,7 @@ Server::Server(IRequestHandler *requestHandler, QObject *parent) @@ -101,6 +101,7 @@ Server::Server(IRequestHandler *requestHandler, QObject *parent)
setProxy(QNetworkProxy::NoProxy);
QSslConfiguration sslConf {QSslConfiguration::defaultConfiguration()};
sslConf.setProtocol(QSsl::TlsV1_2OrLater);
sslConf.setCiphers(safeCipherList());
QSslConfiguration::setDefaultConfiguration(sslConf);

Loading…
Cancel
Save