From 2ac3c5db89863bf765b82a0d891df43dc78c7a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Mon, 17 Aug 2020 22:42:59 +0200 Subject: [PATCH] adding #30 --- app/Commands/LetsEncryptInstallCommand.php | 7 +++++++ 1 file changed, 7 insertions(+) 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 {