mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Request certificate renewal also master2->master1
not only sat->master to prevent master2's certificate from expiring.
This commit is contained in:
parent
e06b631f3a
commit
5f2e021390
@ -771,8 +771,9 @@ void ApiListener::SyncClient(const JsonRpcConnection::Ptr& aclient, const Endpoi
|
||||
}
|
||||
|
||||
Zone::Ptr myZone = Zone::GetLocalZone();
|
||||
auto parent (myZone->GetParent());
|
||||
|
||||
if (myZone->GetParent() == eZone) {
|
||||
if (parent == eZone || !parent && eZone == myZone) {
|
||||
Log(LogInformation, "ApiListener")
|
||||
<< "Requesting new certificate for this Icinga instance from endpoint '" << endpoint->GetName() << "'.";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user