summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2024-06-11 18:21:30 +0300
committerAndrew Geissler <geissonator@yahoo.com>2024-06-11 18:21:30 +0300
commit00a0fe4e361efcdeb600f3a2e88b746fa18b9715 (patch)
treebd3d2cb2ffa37872c0af808d07fc47cf2280ba47 /include
parent8c1d0549d2dc8623d33a2b2c8c472b2c65a9bd2e (diff)
downloadbmcweb-00a0fe4e361efcdeb600f3a2e88b746fa18b9715.tar.xz
ssl_key_handler: utilize ssl path
A bug was found in CI where the server.pem was a directory vs. the expected file. Tested: - None, simple bug Change-Id: Ib0abafe34864f505e7c677457bae89e5aefca394 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'include')
-rw-r--r--include/ssl_key_handler.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ssl_key_handler.hpp b/include/ssl_key_handler.hpp
index e3290b61d0..a8bcfa5b6d 100644
--- a/include/ssl_key_handler.hpp
+++ b/include/ssl_key_handler.hpp
@@ -498,7 +498,7 @@ inline std::string ensureCertificate()
if (!fs::exists(certPath, ec))
{
- fs::create_directories(certFile, ec);
+ fs::create_directories(certPath, ec);
}
BMCWEB_LOG_INFO("Building SSL Context file= {}", certFile.string());
std::string sslPemFile(certFile);