Browse Source

Don't request client SSL certificate (closes issue #3883)

adaptive-webui-19844
borouhin 8 years ago committed by GitHub
parent
commit
501a2d7c45
  1. 1
      src/base/http/server.cpp

1
src/base/http/server.cpp

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

Loading…
Cancel
Save