Add support to upload CA certificate

Added support to upload CA certificates in
/etc/ssl/certs path. Curently scope is limited to one
certificate and any new upload is going to override the
existing  CA certificate.

Change-Id: I9cc60accf6aae4d8123e5f86d618effe33d68d53
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/mainapp.cpp b/mainapp.cpp
index 5b0f29f..3f97025 100644
--- a/mainapp.cpp
+++ b/mainapp.cpp
@@ -45,7 +45,8 @@
     auto type = std::move((options)["type"]);
     if ((type == phosphor::certs::util::ArgumentParser::empty_string) ||
         !((type == phosphor::certs::SERVER) ||
-          (type == phosphor::certs::CLIENT)))
+          (type == phosphor::certs::CLIENT) ||
+          (type == phosphor::certs::AUTHORITY)))
     {
         ExitWithError("type not specified or invalid.", argv);
     }