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>
diff --git a/include/ssl_key_handler.hpp b/include/ssl_key_handler.hpp
index e3290b6..a8bcfa5 100644
--- a/include/ssl_key_handler.hpp
+++ b/include/ssl_key_handler.hpp
@@ -498,7 +498,7 @@
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);