mirror of https://github.com/Icinga/icinga2.git
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")
|
||||
<< "Certificate request for CN '" << cn << "' is pending. Waiting for approval.";
|
||||
|
||||
client->Disconnect();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue