From 2405b9fe9575f6262f8e27b8ba2b6eb6448ea194 Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Fri, 6 Oct 2023 10:03:04 -0700 Subject: [PATCH] https://telecominfraproject.atlassian.net/browse/WIFI-7831 Signed-off-by: stephb9959 --- src/RADSEC_server.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/RADSEC_server.h b/src/RADSEC_server.h index caf2db6e..6b1ac663 100644 --- a/src/RADSEC_server.h +++ b/src/RADSEC_server.h @@ -211,7 +211,9 @@ namespace OpenWifi { "-----END CERTIFICATE-----\n" }; - std::ofstream ofs{OpenRoamingRootCertFile_.path().c_str(),std::ios_base::trunc|std::ios_base::out|std::ios_base::binary}; + // std::ofstream ofs{OpenRoamingRootCertFile_.path().c_str(),std::ios_base::trunc|std::ios_base::out|std::ios_base::binary}; + std::string rootCert = MicroServiceDataDirectory() + "/gr-root.pem"; + std::ofstream ofs{rootCert.c_str(),std::ios_base::trunc|std::ios_base::out|std::ios_base::binary}; ofs << OpenRoamingRootCert; ofs.close();