fix(ssl): make sure when regenerating the CA cert it is not overwritten with a server cert
This commit is contained in:
parent
7666cec462
commit
ba24630c28
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ public function handle()
|
|||
$query->where('valid_until', '<=', now()->addDays(14));
|
||||
}
|
||||
|
||||
$query->where('is_ca_certificate', false);
|
||||
|
||||
$certificates = $query->get();
|
||||
|
||||
if ($certificates->isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue