mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-09 23:04:29 +02:00
parent
e08231f4df
commit
e470e8927a
@ -176,9 +176,12 @@ namespace Icinga
|
|||||||
}
|
}
|
||||||
|
|
||||||
SetRetrievalStatus(100);
|
SetRetrievalStatus(100);
|
||||||
|
try {
|
||||||
X509Certificate2 cert = new X509Certificate2(_TrustedFile);
|
X509Certificate2 cert = new X509Certificate2(_TrustedFile);
|
||||||
Invoke((MethodInvoker)delegate { ShowCertificatePrompt(cert); });
|
Invoke((MethodInvoker)delegate { ShowCertificatePrompt(cert); });
|
||||||
|
} catch (Exception e) {
|
||||||
|
ShowErrorText("Failed to receive certificate: " + e.Message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ConfigureService()
|
private void ConfigureService()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user