phosphor-ldap-conf: handle "PropertiesChanged" signal on the ldap cert object

 When LDAP client certificate is changed through Replace method on the cert object.
 Object would emit the signal "PropertiesChanged". Upon receiving the
 signal, config file would be updated with below given info if
 secure ldap is enabled:
         tls_cert <path client certificate file>
         tls_key  <path to client certificate file>

Tested By: Unit Tested

Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
Change-Id: I5347b13e0bf76742d39dc7a26c96ec5d4dd5a2c6
diff --git a/phosphor-ldap-config/ldap_config_mgr.cpp b/phosphor-ldap-config/ldap_config_mgr.cpp
index 1eb3798..bf42107 100644
--- a/phosphor-ldap-config/ldap_config_mgr.cpp
+++ b/phosphor-ldap-config/ldap_config_mgr.cpp
@@ -162,14 +162,16 @@
     {
         openLDAPConfigPtr = std::make_unique<Config>(
             bus, openLDAPDbusObjectPath.c_str(), configFilePath.c_str(),
-            tlsCacertFile.c_str(), ConfigIface::Type::OpenLdap, *this);
+            tlsCacertFile.c_str(), tlsCertFile.c_str(),
+            ConfigIface::Type::OpenLdap, *this);
         openLDAPConfigPtr->emit_object_added();
     }
     if (!ADConfigPtr)
     {
         ADConfigPtr = std::make_unique<Config>(
             bus, ADDbusObjectPath.c_str(), configFilePath.c_str(),
-            tlsCacertFile.c_str(), ConfigIface::Type::ActiveDirectory, *this);
+            tlsCacertFile.c_str(), tlsCertFile.c_str(),
+            ConfigIface::Type::ActiveDirectory, *this);
         ADConfigPtr->emit_object_added();
     }
 }