diff --git a/znc.h b/znc.h index 791a8c84..7aca2ea8 100644 --- a/znc.h +++ b/znc.h @@ -287,6 +287,9 @@ public: if (IsSSL()) { bSSL = true; m_pListener->SetPemLocation(CZNC::Get().GetPemLocation()); + + // Ask the client for a cert, if it got none, nothing bad happens + m_pListener->SetRequireClientCertFlags(SSL_VERIFY_PEER); } #endif