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 Oct 6, 2023
1 parent 5207f1e commit c53a67e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RADSEC_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ namespace OpenWifi {
comb << std::endl;
comb.close();
SecureContext->useCertificate(Poco::Crypto::X509Certificate(Combined.path()));
std::ifstream comd_fs(Combined.path().c_str(),std::ios_base::in|std::ios_base::binary);
Poco::StreamCopier::copyStream(comd_fs,std::cout);
} else {
poco_error(Logger_, fmt::format("Certificate for {} has expired. We cannot connect to this server.", Server_.name));
return false;
Expand Down

0 comments on commit c53a67e

Please sign in to comment.