summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);