diff --git a/src/RADSEC_server.h b/src/RADSEC_server.h index 2a4b66fa..37d226a6 100644 --- a/src/RADSEC_server.h +++ b/src/RADSEC_server.h @@ -216,9 +216,9 @@ namespace OpenWifi { system(fmt::format("echo \"\n\" >> {}",Combined.path()).c_str()); system(fmt::format("cat {} >>{}", Intermediate.path(), Combined.path()).c_str()); */ - system(fmt::format("cat {}",KeyFile_.path()).c_str()); - system(fmt::format("cat {}",CertFile_.path()).c_str()); - system(fmt::format("cat {}",OpenRoamingRootCertFile_.path()).c_str()); +// system(fmt::format("cat {}",KeyFile_.path()).c_str()); +// system(fmt::format("cat {}",CertFile_.path()).c_str()); +// system(fmt::format("cat {}",OpenRoamingRootCertFile_.path()).c_str()); Poco::Net::Context::Ptr SecureContext = Poco::AutoPtr(new Poco::Net::Context( @@ -249,7 +249,6 @@ namespace OpenWifi { SecureContext->addChainCertificate(Poco::Crypto::X509Certificate(Intermediate0.path())); SecureContext->addChainCertificate(Poco::Crypto::X509Certificate(Intermediate1.path())); - SecureContext->disableProtocols(Poco::Net::Context::PROTO_TLSV1_3); Socket_ = std::make_unique(SecureContext); DBGLINE