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