mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
JsonRpcConnection PKI: Document swalled exception
This commit is contained in:
parent
12b6c1aab9
commit
456b0779bb
@ -57,9 +57,7 @@ Value RequestCertificateHandler(const MessageOrigin::Ptr& origin, const Dictiona
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
signedByCA = VerifyCertificate(cacert, cert);
|
signedByCA = VerifyCertificate(cacert, cert);
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception&) { } /* Swallow the exception on purpose, cacert will never be a non-CA certificate. */
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
Log(LogInformation, "JsonRpcConnection")
|
Log(LogInformation, "JsonRpcConnection")
|
||||||
<< "Received certificate request for CN '" << cn << "'"
|
<< "Received certificate request for CN '" << cn << "'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user