diff --git a/daemon/src/client/configurationmanager.cpp b/daemon/src/client/configurationmanager.cpp
index 3a38d63b7d7375cbfc9a753714be9ff7c27847b4..b0661d34edfb0903119e6252b0305c0f851a0f37 100644
--- a/daemon/src/client/configurationmanager.cpp
+++ b/daemon/src/client/configurationmanager.cpp
@@ -566,7 +566,8 @@ bool ConfigurationManager::checkCertificateValidity(const std::string& caPath,
 #endif
 }
 
-bool ConfigurationManager::checkHostnameCertificate(const std::string& certificatePath, const std::string& host, const std::string& port)
+bool ConfigurationManager::checkHostnameCertificate(const std::string& host,
+                                                    const std::string& port)
 {
 #if HAVE_TLS
     return verifyHostnameCertificate(host.c_str(),
diff --git a/daemon/src/client/configurationmanager.h b/daemon/src/client/configurationmanager.h
index c64018cfa55a60be9392bfbb3f74a6634a82253f..47e0c2d629432b8409fd595f4f79a869706ec5c0 100644
--- a/daemon/src/client/configurationmanager.h
+++ b/daemon/src/client/configurationmanager.h
@@ -168,7 +168,8 @@ class ConfigurationManager
         bool checkForPrivateKey(const std::string& pemPath);
         bool checkCertificateValidity(const std::string& caPath,
                                       const std::string& pemPath);
-        bool checkHostnameCertificate(const std::string& certificatePath, const  std::string& host, const std::string& port);
+        bool checkHostnameCertificate(const std::string& host,
+                                      const std::string& port);
 
         /* the following signals must be implemented manually for any
          * platform or configuration that does not supply dbus */
diff --git a/daemon/src/client/dbus/configurationmanager-introspec.xml b/daemon/src/client/dbus/configurationmanager-introspec.xml
index 89e4a6d3d5fd9dcabd6042ff440645072bd13c05..9fdfed69929800d95096941b5ac56e3e8c81dc35 100644
--- a/daemon/src/client/dbus/configurationmanager-introspec.xml
+++ b/daemon/src/client/dbus/configurationmanager-introspec.xml
@@ -639,8 +639,6 @@
        </method>
 
        <method name="checkHostnameCertificate" tp:name-for-bindings="checkHostnameCertificate">
-           <arg type="s" name="pemPath" direction="in">
-           </arg>
            <arg type="s" name="host" direction="in">
            </arg>
            <arg type="s" name="port" direction="in">
diff --git a/gnome/src/dbus/configurationmanager-introspec.xml b/gnome/src/dbus/configurationmanager-introspec.xml
index 89e4a6d3d5fd9dcabd6042ff440645072bd13c05..9fdfed69929800d95096941b5ac56e3e8c81dc35 100644
--- a/gnome/src/dbus/configurationmanager-introspec.xml
+++ b/gnome/src/dbus/configurationmanager-introspec.xml
@@ -639,8 +639,6 @@
        </method>
 
        <method name="checkHostnameCertificate" tp:name-for-bindings="checkHostnameCertificate">
-           <arg type="s" name="pemPath" direction="in">
-           </arg>
            <arg type="s" name="host" direction="in">
            </arg>
            <arg type="s" name="port" direction="in">