Home
last modified time | relevance | path

Searched refs:certPath (Results 1 – 8 of 8) sorted by relevance

/openbmc/bmcweb/include/
H A Dhostname_monitor.hpp36 inline void installCertificate(const std::filesystem::path& certPath) in installCertificate() argument
39 [certPath](const boost::system::error_code& ec) { in installCertificate()
49 std::filesystem::remove(certPath.c_str(), ec2); in installCertificate()
57 "xyz.openbmc_project.Certs.Replace", "Replace", certPath.string()); in installCertificate()
/openbmc/bmcweb/src/
H A Dssl_key_handler.cpp449 fs::path certPath = "/etc/ssl/certs/https/"; in ensureCertificate() local
453 fs::path certFile = certPath / "server.pem"; in ensureCertificate()
455 if (!fs::exists(certPath, ec)) in ensureCertificate()
457 fs::create_directories(certPath, ec); in ensureCertificate()
597 fs::path certPath = "/etc/ssl/certs/https/client.pem"; in getSSLClientContext() local
598 std::string cert = verifyOpensslKeyCert(certPath); in getSSLClientContext()
/openbmc/phosphor-certificate-manager/
H A Dcertificate.hpp169 bool isSame(const std::string& certPath);
H A Dcerts_manager.cpp1068 for (auto& certPath : fs::directory_iterator(certInstallPath)) in storageUpdate() local
1072 if (fs::is_symlink(certPath)) in storageUpdate()
1074 fs::remove(certPath); in storageUpdate()
1081 "ERR", e, "SYMLINK", certPath.path().string()); in storageUpdate()
H A Dcertificate.cpp441 bool Certificate::isSame(const std::string& certPath) in isSame() argument
443 internal::X509Ptr cert = loadCert(certPath); in isSame()
/openbmc/bmcweb/redfish-core/lib/
H A Dcertificate_service.hpp274 for (const auto& certPath : certPaths) in getCertificateList() local
276 sdbusplus::message::object_path objPath(certPath); in getCertificateList()
281 certPath); in getCertificateList()
/openbmc/fb-ipmi-oem/src/
H A Doemcommands.cpp77 constexpr const char* certPath = "/mnt/data/host/bios-rootcert"; variable
2319 auto fileSize = std::filesystem::file_size(certPath, ec); in ipmiOemGetHttpsData()
2326 std::ifstream file(certPath, std::ios::binary); in ipmiOemGetHttpsData()
2352 auto fileSize = std::filesystem::file_size(certPath, ec); in ipmiOemGetHttpsAttr()
2363 std::ifstream file(certPath, std::ios::binary); in ipmiOemGetHttpsAttr()
/openbmc/phosphor-rest-server/module/obmc/wsgi/apps/
H A Drest_dbus.py895 certPath = self.CERT_PATH + "/" + cert_type + "/" + service
897 route_handler.mapper.get_object, path=certPath)
900 self.obj = bus.get_object(busName, certPath)