diff --git a/src/nlsr_conf_processor.cpp b/src/nlsr_conf_processor.cpp
index e6067f9..13432d0 100644
--- a/src/nlsr_conf_processor.cpp
+++ b/src/nlsr_conf_processor.cpp
@@ -99,10 +99,14 @@
         {
             processConfCommandMaxFacesPerPrefix(pnlsr,nt.getRestOfLine());
         }
-        else if( (nt.getFirstToken() == "logdir"))
+        else if( (nt.getFirstToken() == "log-dir"))
         {
             processConfCommandLogDir(pnlsr,nt.getRestOfLine());
         }
+        else if( (nt.getFirstToken() == "cert-dir"))
+        {
+            processConfCommandCertDir(pnlsr,nt.getRestOfLine());
+        }
         else if( (nt.getFirstToken() == "detailed-logging") )
         {
             processConfCommandDetailedLogging(pnlsr,nt.getRestOfLine());
@@ -364,6 +368,20 @@
         }
         return 0;
     }
+    
+    int
+    ConfFileProcessor::processConfCommandCertDir(Nlsr& pnlsr, string command)
+    {
+        if(command.empty() )
+        {
+            cerr <<" Wrong command format ! [cert-dir /path/to/cert/dir]!"<<endl;
+        }
+        else
+        {
+            pnlsr.getConfParameter().setCertDir(command);
+        }
+        return 0;
+    }
 
     int
     ConfFileProcessor::processConfCommandDebugging(Nlsr& pnlsr, string command)
