Browse Source

Merge pull request #5760 from borouhin/patch-1

Don't request client SSL certificate (closes issue #3883)
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
b358809328
  1. 1
      src/base/http/server.cpp

1
src/base/http/server.cpp

@ -91,6 +91,7 @@ void Server::incomingConnection(int socketDescriptor) @@ -91,6 +91,7 @@ void Server::incomingConnection(int socketDescriptor)
#else
static_cast<QSslSocket*>(serverSocket)->setLocalCertificate(m_certificates.first());
#endif
static_cast<QSslSocket*>(serverSocket)->setPeerVerifyMode(QSslSocket::VerifyNone);
static_cast<QSslSocket*>(serverSocket)->startServerEncryption();
}
#endif

Loading…
Cancel
Save