Browse Source

Wrong AcceptablePolicyErrors default for SSL in agent

Change-Id: Ia303b0f895d130876659cf942235d117bbf80fef
Stan Lagun 5 years ago
parent
commit
5eecc15d56
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      WindowsAgent/RabbitMqClient.cs

+ 1
- 1
WindowsAgent/RabbitMqClient.cs View File

@@ -25,7 +25,7 @@ namespace Mirantis.Murano.WindowsAgent
25 25
 		        Enabled = bool.Parse(ConfigurationManager.AppSettings["rabbitmq.ssl"] ?? "false"),
26 26
 		        Version = SslProtocols.Default,
27 27
                 AcceptablePolicyErrors = bool.Parse(ConfigurationManager.AppSettings["rabbitmq.allowInvalidCA"] ?? "true") ? 
28
-                    SslPolicyErrors.RemoteCertificateNameMismatch : SslPolicyErrors.None
28
+                    SslPolicyErrors.RemoteCertificateChainErrors : SslPolicyErrors.None
29 29
 		    };
30 30
 
31 31
 		    var sslServerName = ConfigurationManager.AppSettings["rabbitmq.sslServerName"] ?? "";

Loading…
Cancel
Save