CFNetwork SSLHandshake failed -(9806)

430 views
Skip to first unread message

actio...@aliyun.com

unread,
Sep 25, 2015, 1:44:33 AM9/25/15
to Google Mobile Ads SDK Developers
i'm getting CFNetwork SSLHandshake failed -(9806) in "google admob sdk" in iOS9 with xCode7 !

i try to configure it like this:

<key>NSAppTransportSecurity</key>
<dict>
    <!--Connect to anything (this is probably BAD)-->
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>
but it doesn't work ! So i need config the Info.plist  like this ???
<key>NSAppTransportSecurity</key>
<dict>
  <key>NSExceptionDomains</key>
  <dict>
    <key>yourserver.com</key>
    <dict>
      <!--Include to allow subdomains-->
      <key>NSIncludesSubdomains</key>
      <true/>
      <!--Include to allow insecure HTTP requests-->
      <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
      <true/>
      <!--Include to specify minimum TLS version-->
      <key>NSTemporaryExceptionMinimumTLSVersion</key>
      <string>TLSv1.1</string>
    </dict>
  </dict>
</dict>
who can tell me what is "yourserver.com" ??
Message has been deleted

Tristan Emrich

unread,
Sep 25, 2015, 7:19:26 PM9/25/15
to Google Mobile Ads SDK Developers
Hi,

This posting might help and it explains what "yourserver.com" is and where it comes from (i.e. in the error message).  

This article explains the different options that you have when working with Apple's App Transport Security.

If you are still unable to resolve this issue, please provide the full error message that you are getting as well as a sample app (if possible) that reproduces the issue.

Thank you!
Reply all
Reply to author
Forward
0 new messages