Endpoints require SSL

suggest change

App Transport Security, introduced in iOS 9, blocks cleartext HTTP and TLS connections that do not meet its requirements. The app sees a failed load, and the console logs an ATS message.

To configure exceptions: Place the following in your Info.plist file:

  1. Allow particular domain (testdomain.com) only:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
    <key>testdomain.com</key>
    <dict>
        <key>NSIncludesSubdomains</key>
        <true/>
        <key>NSExceptionAllowsInsecureHTTPLoads</key>
        <true/>
    </dict>
</dict>
</dict>

The key that permits such behavior is NSExceptionAllowsInsecureHTTPLoads. The app then allows HTTP for testdomain.com only and blocks other HTTP connections.

The key NSIncludesSubdomains specifies that any and all subdomains of the mentioned domain (testdomain.com) should also be allowed.

  1. Allow any domain:
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

The app then allows HTTP to any domain. As of January 1st 2017, using this flag will cause thorough App Store review and the app developers will have to explain why they need to use this exception in the first place. Possible explanations include:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents