new command «certificate» to install CA certificate for SSL

This commit is contained in:
Marc Wäckerlin
2015-04-02 08:25:52 +00:00
parent 234306d37e
commit 74a8e4e56a

View File

@@ -1409,7 +1409,7 @@ class Certificate: public Command {
"Load a CA certificate that will be accepted on SSL connections."; "Load a CA certificate that will be accepted on SSL connections.";
} }
QString command() const { QString command() const {
return ""; return "certificate "+_filename;
} }
std::shared_ptr<Command> parse(Script*, QString args, std::shared_ptr<Command> parse(Script*, QString args,
QStringList&, int) { QStringList&, int) {