cancel
Showing results for 
Search instead for 
Did you mean: 

Kapsel Logon Example - IOS 7 https issue

Former Member
0 Kudos

Hello Experts,


When i try to connect via HTTP from the cordova project "logondemo" everything works fine, when i switch to HTTPS, i have this issue on the cordova project... CFNetwork SSLHandshake failed (-9807)


I tested the connection via the REST API Client App from Google Chrome and i had no problem, it seems that this is an IOS 7 Issue...


http://social.technet.microsoft.com/Forums/lync/en-US/901a65f4-0417-4287-abd1-f4840f4d6a4f/ios-users...

Is there any update on this? a newer version?


i currently have XCODE: 5.1.1

IOS Simulator 7.1

Cordova version 3.4.0-0.1.3


This is the log of the error when i try to connect via HTTPS


2014-06-23 11:16:37.251 LogonDemo[19448:60b] IAB loadstart: iOS

2014-06-23 11:16:37.251 LogonDemo[19448:60b] event: "onsubmit"

2014-06-23 11:16:37.251 LogonDemo[19448:60b] calling parent callback

2014-06-23 11:16:37.252 LogonDemo[19448:60b] {"serverHost":"server name","user":"xxxxx","password":">>> FILTERED <<<","resourcePath":"","https":true,"serverPort":"8081","farmId":"","communicatorId":"REST","securityConfig":"CEMEXNET"}

2014-06-23 11:16:37.252 LogonDemo[19448:60b] logonCore.startRegistration

2014-06-23 11:16:37.252 LogonDemo[19448:60b] {"serverHost":"xxxxx","user":"xxxxx","password":">>> FILTERED <<<","resourcePath":"","https":true,"serverPort":"8081","farmId":"","communicatorId":"REST","securityConfig":"CEMEXNET"}

2014-06-23 11:16:37.273 LogonDemo[19448:4613] Initializing Client connection with ApplicationID : com.cemex.logon  Domain :  default  SecurityConfiguration:  CEMEXNET

2014-06-23 11:16:37.276 LogonDemo[19448:4613] Setting Client connection with Url:  https://xxxxx:8081

2014-06-23 11:16:37.277 LogonDemo[19448:4613] Clearing session cookies

2014-06-23 11:16:37.278 LogonDemo[19448:4613] Assigning the selectors

2014-06-23 11:16:37.279 LogonDemo[19448:4613] Automatic Registration : Registering user ASYNCHRONOUSLY with user name : xxxxx, security configuration : CEMEXNET

2014-06-23 11:16:37.295 LogonDemo[19448:2f3] CFNetwork SSLHandshake failed (-9807)

2014-06-23 11:16:37.296 LogonDemo[19448:60b] Request Failed With Error Code  0 message:  (null)

2014-06-23 11:16:37.298 LogonDemo[19448:60b] ER:MAFLogon Registration failed with error: Error Domain=HTTPRequestErrorDomain Code=1 "A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)" UserInfo=0xc2ea240 {NSUnderlyingError=0xc294d60 "The operation couldn’t be completed. (OSStatus error -9807.)", NSLocalizedDescription=A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)}

2014-06-23 11:16:37.299 LogonDemo[19448:60b] ER:MAFLogon Registration failed

2014-06-23 11:16:37.301 LogonDemo[19448:60b] registration failed

2014-06-23 11:16:37.301 LogonDemo[19448:60b] {"errorMessage":"keyErrDescrMAFLogonErrorCommunicationManagerError","errorDomain":"MAFLogonCoreErrorDomain","errorCode":"3"}

2014-06-23 11:16:37.301 LogonDemo[19448:60b] "LogonController.getRegistrationErrorText: {\"errorMessage\":\"keyErrDescrMAFLogonErrorCommunicationManagerError\",\"errorDomain\":\"MAFLogonCoreErrorDomain\",\"errorCode\":\"3\"}"

2014-06-23 11:16:37.301 LogonDemo[19448:60b] iabui showNotification

2014-06-23 11:16:37.334 LogonDemo[19448:60b] THREAD WARNING: ['InAppBrowser'] took '31.832031' ms. Plugin should use a background thread.

2014-06-23 11:16:37.363 LogonDemo[19448:60b] executeScript returned:[null]



Any comment of this its appreciated,

Regards,

Daniel Y.

Accepted Solutions (1)

Accepted Solutions (1)

midhun_vp
Active Contributor
0 Kudos

I assume that the issue might be related to missing certificate in the device do to a HTTPS request. To make a HTTPS request a certificate is needed. This thread might give more information,

Midhun VP

Answers (0)