diff --git a/app/Commands/LetsEncryptInstallCommand.php b/app/Commands/LetsEncryptInstallCommand.php index d22a81f..f54a0c6 100644 --- a/app/Commands/LetsEncryptInstallCommand.php +++ b/app/Commands/LetsEncryptInstallCommand.php @@ -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 $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')) { $this->info('LetsEncrypt installing...Success! \o/'); } else {