diff --git a/redfish-core/lib/certificate_service.hpp b/redfish-core/lib/certificate_service.hpp
index 8701f59..cb89792 100644
--- a/redfish-core/lib/certificate_service.hpp
+++ b/redfish-core/lib/certificate_service.hpp
@@ -376,6 +376,25 @@
         });
 }
 
+static void
+    deleteCertificate(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
+                      const std::string& service,
+                      const sdbusplus::message::object_path& objectPath)
+{
+    crow::connections::systemBus->async_method_call(
+        [asyncResp,
+         id{objectPath.filename()}](const boost::system::error_code ec) {
+        if (ec)
+        {
+            messages::resourceNotFound(asyncResp->res, "Certificate", id);
+            return;
+        }
+        BMCWEB_LOG_INFO << "Certificate deleted";
+        asyncResp->res.result(boost::beast::http::status::no_content);
+        },
+        service, objectPath, certs::objDeleteIntf, "Delete");
+}
+
 inline void handleCertificateServiceGet(
     App& app, const crow::Request& req,
     const std::shared_ptr<bmcweb::AsyncResp>& asyncResp)
@@ -1164,17 +1183,7 @@
     std::string objPath =
         sdbusplus::message::object_path(certs::authorityObjectPath) / id;
 
-    crow::connections::systemBus->async_method_call(
-        [asyncResp, id](const boost::system::error_code ec) {
-        if (ec)
-        {
-            messages::resourceNotFound(asyncResp->res, "Certificate", id);
-            return;
-        }
-        BMCWEB_LOG_INFO << "Certificate deleted";
-        asyncResp->res.result(boost::beast::http::status::no_content);
-        },
-        certs::authorityServiceName, objPath, certs::objDeleteIntf, "Delete");
+    deleteCertificate(asyncResp, certs::authorityServiceName, objPath);
 }
 
 inline void requestRoutesTrustStoreCertificate(App& app)
