mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-09 08:42:59 -04:00
Adjust incosistent pki log messages (#8965)
This commit is contained in:
parent
a64089ffc1
commit
361807f7a9
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ Value RequestCertificateHandler(const MessageOrigin::Ptr& origin, const Dictiona
|
|||
}
|
||||
logmsg << " signed by our CA.";
|
||||
} catch (const std::exception &ex) {
|
||||
logmsg << " not signed by our CA";
|
||||
logmsg << " which couldn't be verified";
|
||||
|
||||
if (const unsigned long *openssl_code = boost::get_error_info<errinfo_openssl_error>(ex)) {
|
||||
logmsg << ": " << X509_verify_cert_error_string(long(*openssl_code)) << " (code " << *openssl_code << ")";
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue