title: iOS 11 : SSL error occurred and connection to server cannot be made
body: <p>When I’m trying to connect with <code>Server (which is IIS)</code> I’m getting below error on console window :</p>
  
  <p><strong>API error: An SSL error has occurred and a secure connection to the server cannot be made.</strong>
  and hence not able to login.</p>
  
  <p>I'm using Xcode 9.2, iOS 11.</p>
  
  <p>Below are solutions that I’ve tried but didn’t worked :</p>
  
  <ol>
  <li><p><code>App Transport Security Settings</code> -> <code>Allow Arbitrary Loads</code> -> <code>YES</code> </p></li>
  <li><p><code>Add exception domain</code> etc.</p></li>
  <li><p>Troubleshoot IIS along with server team and figured out that it is not secured i.e. no HTTPS or SSL</p></li>
  </ol>
  
  <p>This is my plist ATS configuration</p>
  
  <p><a href="https://i.stack.imgur.com/BDIbh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BDIbh.png" alt="Screenshot"></a></p>
  
  <p><em>P.S. This project is written in Objective-C back in 2014 by third party vendor. Does this issue is due to Objective-C language? (well I don't think so)</em></p>
  
  <p>Any Fix?</p>