Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-7831
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Sep 14, 2023
1 parent 45ba1d9 commit 1d294c8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/RADSEC_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<Poco::Net::Context>(new Poco::Net::Context(
Expand Down Expand Up @@ -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<Poco::Net::SecureStreamSocket>(SecureContext);
DBGLINE

Expand Down

0 comments on commit 1d294c8

Please sign in to comment.