Browse Source

adding #30

release/0.1
Björn 4 years ago
parent
commit
2ac3c5db89
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      app/Commands/LetsEncryptInstallCommand.php

+ 7
- 0
app/Commands/LetsEncryptInstallCommand.php View File

@ -63,6 +63,13 @@ class LetsEncryptInstallCommand extends Command
// @TODO apt add a Warning for no good, in a later version output will be scanned for helpfull infos // @TODO apt add a Warning for no good, in a later version output will be scanned for helpfull infos
$this->line(implode("\n", Install::filterAptMessages($output))); $this->line(implode("\n", Install::filterAptMessages($output)));
$output = [];
$this->info('LetsEncrypt generate dhparam.pem...');
exec('openssl dhparam -out /etc/ssl/certs/dhparam.pem 4096', $ouput);
// @TODO apt add a Warning for no good, in a later version output will be scanned for helpfull infos
$this->line(implode("\n", Install::filterAptMessages($output)));
if (Install::isReady('certbot')) { if (Install::isReady('certbot')) {
$this->info('LetsEncrypt installing...Success! \o/'); $this->info('LetsEncrypt installing...Success! \o/');
} else { } else {


Loading…
Cancel
Save