Renew if not all names are covered

Renew a certificate if not all names are covered by the current certificate yet.
Adds a new `--names` option to `check` that makes `check` fail if not all names are covered.
Resolves #34.
This commit is contained in:
Niklas Keller
2016-10-22 11:41:34 +02:00
parent c6d9c2016c
commit 253d3f476b
2 changed files with 19 additions and 0 deletions

View File

@@ -185,6 +185,8 @@ class Auto implements Command {
$storage,
"--name",
$commonName,
"--names",
implode(",", $domains),
];
$command = implode(" ", array_map("escapeshellarg", $args));