mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
Fix open connections when agent waits for CA approval
This closes the agent connection when the certificate sign requests waits for CA approval. refs #7680
This commit is contained in:
parent
bb9b70d466
commit
9d55a8264d
@ -243,6 +243,8 @@ delayed_request:
|
|||||||
Log(LogInformation, "JsonRpcConnection")
|
Log(LogInformation, "JsonRpcConnection")
|
||||||
<< "Certificate request for CN '" << cn << "' is pending. Waiting for approval.";
|
<< "Certificate request for CN '" << cn << "' is pending. Waiting for approval.";
|
||||||
|
|
||||||
|
client->Disconnect();
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user