title: Getting CFNetwork SSLHandshake failed (-9806) error
body: <p>I am trying to call my url using </p>
  
  <pre><code>NSDictionary *landingDetails=[appDelegate landingPage];
  
          NSString *devinf=[UIDevice currentDevice].systemVersion;
          NSString *appVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
  
          NSMutableDictionary *reqDict=[NSMutableDictionary dictionary];
          [reqDict setObject:@"refillByScan" forKey:@"appId"];
          [reqDict setObject:@"extest1" forKey:@"affId"];
          [reqDict setObject:[landingDetails objectForKey:@"token"] forKey:@"token"];
          [reqDict setObject:@"0124400-59382" forKey:@"rxNo"];//medication or prescription id
          [reqDict setObject:@"appName://handleControlFromScanRefill" forKey:@"appCallBackScheme"];
          [reqDict setObject:@"callBackAction" forKey:@"appCallBackAction"];
          [reqDict setObject:@"chkExpRx" forKey:@"act"];
          [reqDict setObject:@"" forKey:@"trackingId"];
          [reqDict setObject:devinf forKey:@"devinf"];
          [reqDict setObject:appVersion forKey:@"appver"];
  
          NSString *landingUrl=[landingDetails objectForKey:@"landingUrl"];//my url
          request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:landingUrl]];
          NSString *jsonRequest = [reqDict JSONRepresentation];
          NSLog(@"jsonRequest is %@", jsonRequest);
          NSData *requestData = [NSData dataWithBytes:[jsonRequest UTF8String] length:[jsonRequest length]];
  
          [request setHTTPMethod:@"POST"];
          [request setValue:[NSString stringWithFormat:@"%d", [requestData length]] forHTTPHeaderField:@"Content-Length"];
          [request setHTTPBody: requestData];
  
          con=[[NSURLConnection alloc]initWithRequest:request delegate:self];
          [con start];
  </code></pre>
  
  <p>I am getting this error in my log</p>
  
  <pre><code>2013-11-27 19:43:30.754 WallGreen[5594:3a03] CFNetwork SSLHandshake failed (-9806)
  2013-11-27 19:43:31.273 WallGreen[5594:3a03] CFNetwork SSLHandshake failed (-9806)
  2013-11-27 19:43:31.799 WallGreen[5594:3a03] CFNetwork SSLHandshake failed (-9806)
  2013-11-27 19:43:31.800 WallGreen[5594:3a03] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9806)
  </code></pre>