SelfEndorseCertificate is working
diff --git a/wscript b/wscript
index 34a2c49..8834f50 100644
--- a/wscript
+++ b/wscript
@@ -33,7 +33,16 @@
         source = bld.path.ant_glob(['src/*.cpp', 'src/*.ui', 'logging.cc']),
         includes = ".",
         use = "QTCORE QTGUI QTSQL SQLITE3 NDNCXX TINYXML BOOST BOOST_FILESYSTEM LOG4CXX",
-        )   
+        )
+
+    cert_publish = bld (
+        target = "CertPublish",
+        features = "cxx cxxprogram",
+        defines = "WAF",
+        source = bld.path.ant_glob(['tmp/cert-publish.cpp']),
+        includes = ".",
+        use = "SQLITE3 NDNCXX BOOST BOOST_FILESYSTEM LOG4CXX",
+        )
 
 
 @Configure.conf