|
|
@ -21,7 +21,7 @@ class LetsEncryptAddCommand extends Command |
|
|
|
* |
|
|
|
* @var string |
|
|
|
*/ |
|
|
|
protected $signature = 'lets-encrypt:add {domain*}'; |
|
|
|
protected $signature = 'lets-encrypt:add {email} {domain*} '; |
|
|
|
|
|
|
|
/** |
|
|
|
* The description of the command. |
|
|
@ -46,7 +46,7 @@ class LetsEncryptAddCommand extends Command |
|
|
|
$domainFlags .= '-d '.$domain.' '; |
|
|
|
} |
|
|
|
|
|
|
|
exec('certbot --nginx '.$domainFlags, $output); |
|
|
|
exec('certbot --non-interactive --agree-tos -m '.$this->argument('email').' --nginx '.$domainFlags, $output); |
|
|
|
$this->line(implode("\n", $output)); |
|
|
|
} |
|
|
|
} |