Wrong AcceptablePolicyErrors default for SSL in agent
Change-Id: Ia303b0f895d130876659cf942235d117bbf80fef
This commit is contained in:
parent
e82e2ca812
commit
5eecc15d56
|
@ -25,7 +25,7 @@ namespace Mirantis.Murano.WindowsAgent
|
|||
Enabled = bool.Parse(ConfigurationManager.AppSettings["rabbitmq.ssl"] ?? "false"),
|
||||
Version = SslProtocols.Default,
|
||||
AcceptablePolicyErrors = bool.Parse(ConfigurationManager.AppSettings["rabbitmq.allowInvalidCA"] ?? "true") ?
|
||||
SslPolicyErrors.RemoteCertificateNameMismatch : SslPolicyErrors.None
|
||||
SslPolicyErrors.RemoteCertificateChainErrors : SslPolicyErrors.None
|
||||
};
|
||||
|
||||
var sslServerName = ConfigurationManager.AppSettings["rabbitmq.sslServerName"] ?? "";
|
||||
|
|
Loading…
Reference in New Issue