SkipCNCheck added to exchange 2013 provider

This commit is contained in:
robvde 2013-04-10 18:12:36 +04:00
parent 7da3b80aa5
commit c8d645fe19
2 changed files with 3 additions and 0 deletions

View file

@ -18,6 +18,8 @@
<!-- Maximum waiting time when sending request to the remote server
The value is in seconds. "-1" - infinite. -->
<add key="WebsitePanel.EnterpriseServer.ServerRequestTimeout" value="3600" />
<add key="WebsitePanel.AltConnectionString" value="ConnectionString" />
<add key="WebsitePanel.AltCryptoKey" value="CryptoKey" />
</appSettings>
<system.web>
<!-- Disable any authentication -->

View file

@ -5930,6 +5930,7 @@ namespace WebsitePanel.Providers.HostedSolution
credential);
connectionInfo.AuthenticationMechanism = AuthenticationMechanism.NegotiateWithImplicitCredential;
connectionInfo.SkipCNCheck = true;
}
Runspace runSpace = RunspaceFactory.CreateRunspace(connectionInfo);