aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-10-26 22:50:28 +0100
committerGitHub <noreply@github.com>2020-10-26 22:50:28 +0100
commit0f52e14a929ec00c887bc886925dc58eba649c80 (patch)
tree328ceab02201bb38a2f4e46bbf69cec2e930f30b
parent1ed05c2be5345fb1da78a03aaea2e158f7124437 (diff)
parente80bb9c09f8c2dab1d174f75f4757bc517dd6854 (diff)
downloadnextcloud-server-0f52e14a929ec00c887bc886925dc58eba649c80.tar.gz
nextcloud-server-0f52e14a929ec00c887bc886925dc58eba649c80.zip
Merge pull request #23693 from nextcloud/bugfix/noid/import-cert-clarify
Clarify import cert command
-rw-r--r--core/Command/Security/ImportCertificate.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Command/Security/ImportCertificate.php b/core/Command/Security/ImportCertificate.php
index 836f1e8b9d4..e134f0f5891 100644
--- a/core/Command/Security/ImportCertificate.php
+++ b/core/Command/Security/ImportCertificate.php
@@ -42,11 +42,11 @@ class ImportCertificate extends Base {
protected function configure() {
$this
->setName('security:certificates:import')
- ->setDescription('import trusted certificate')
+ ->setDescription('import trusted certificate in PEM format')
->addArgument(
'path',
InputArgument::REQUIRED,
- 'path to the certificate to import'
+ 'path to the PEM certificate to import'
);
}
@@ -54,7 +54,7 @@ class ImportCertificate extends Base {
$path = $input->getArgument('path');
if (!file_exists($path)) {
- $output->writeln('<error>certificate not found</error>');
+ $output->writeln('<error>Certificate not found, please provide a path accessible by the web server user</error>');
return 1;
}