security: generate KSK as NLSR default key

Change-Id: I57a602337733f672e39a3c51db6a193355913218
diff --git a/src/nlsr.cpp b/src/nlsr.cpp
index 9084d7c..059d46a 100644
--- a/src/nlsr.cpp
+++ b/src/nlsr.cpp
@@ -129,7 +129,7 @@
   m_defaultIdentity = m_confParam.getRouterPrefix();
   m_defaultIdentity.append("NLSR");
 
-  ndn::Name keyName = m_keyChain.generateRsaKeyPairAsDefault(m_defaultIdentity);
+  ndn::Name keyName = m_keyChain.generateRsaKeyPairAsDefault(m_defaultIdentity, true);
 
   ndn::shared_ptr<ndn::IdentityCertificate> certificate = m_keyChain.selfSign(keyName);
   m_keyChain.signByIdentity(*certificate, m_confParam.getRouterPrefix());