From 1d294c86a2e15dbebe31ac06b5911f34a3b6361b Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Thu, 14 Sep 2023 15:28:08 -0700 Subject: [PATCH] https://telecominfraproject.atlassian.net/browse/WIFI-7831 Signed-off-by: stephb9959 --- src/RADSEC_server.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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