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:
Michael Insel 2019-12-03 21:17:22 +01:00
parent bb9b70d466
commit 9d55a8264d
1 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,8 @@ delayed_request:
Log(LogInformation, "JsonRpcConnection")
<< "Certificate request for CN '" << cn << "' is pending. Waiting for approval.";
client->Disconnect();
return result;
}