App Transport Security does not work any more with iOS 11 Xcode 9

后端 未结 2 1482
挽巷
挽巷 2020-12-07 04:03

I\'ve been working on an app...since the iOS 11 update disabling ATS does not work anymore I\'ve added the below in the info.plist

NSAppTransportS         


        
2条回答
  •  佛祖请我去吃肉
    2020-12-07 04:50

    I am aware that IOS 11 not longer supports the following:

    • RC4 3DES-CBC AES-CBC
    • MD5 SHA-1
    • <2048-bit RSA Pub Keys - All TLS connections to servers
    • http://
    • SSLv3
    • TLS 1.0
    • TLS 1.1

    Adding the following we can bypass the ATS (App Transport Security) error:

    NSAppTransportSecurity 
         NSExceptionDomains
         
             mydomain.com
             
                 
                 NSIncludesSubdomains
                 
                 NSExceptionRequiresForwardSecrecy
                 
             
          
    

    Reference link : iOS 11 ATS (App Transport Security) no longer accepts custom anchor certs?

提交回复
热议问题