diff --git a/src/RADSEC_server.h b/src/RADSEC_server.h index a40057c8..fee3a009 100644 --- a/src/RADSEC_server.h +++ b/src/RADSEC_server.h @@ -192,8 +192,10 @@ namespace OpenWifi { for (const auto &ca : CaCertFiles_) { Poco::Crypto::X509Certificate cert(ca->path()); - SecureContext->addCertificateAuthority(cert); + // SecureContext->addCertificateAuthority(cert); + SecureContext->addChainCertificate(cert); } + //SecureContext->disableProtocols() Socket_ = std::make_unique(SecureContext);