Hi,
Problems with APP on iPhone if SSL activated on Alpha Server, works ok with http.
CASE 1 NONE SSL
- Alpha Server v12 installed on server using port 8080
- created offline demo project
- deployed on server
- ajax callback specified like http://domain:8080/mobileapp
- used build.phonegap.com creates IOS and Android
- installed APPS on both iphone and android
RESULT CASE 1
- both iphone and android works perfect and communication with server over 8080 port
- identical access log for both iPhone and Android like shown below
CASE 2 WITH SSL
- Installs SSL godaddy certificates on Alpha Server
- ajax callback changed to https://domain/mobileapp (also tried to include port https://domain:443/mobileapp)
- used build.phonegap.com creates IOS and Android
- installed APPS on both iphone and android
RESULT CASE 2
- android works perfect and communication with server over 443 port, identical access logg as for none SSL
- iphone try to connect, no access log, only error log like shown below
Any clue why it does not work using HTTPS(443) on iPhone, it works perfect on Android.
Kristian Hyllestad
www.spine.no
Problems with APP on iPhone if SSL activated on Alpha Server, works ok with http.
CASE 1 NONE SSL
- Alpha Server v12 installed on server using port 8080
- created offline demo project
- deployed on server
- ajax callback specified like http://domain:8080/mobileapp
- used build.phonegap.com creates IOS and Android
- installed APPS on both iphone and android
RESULT CASE 1
- both iphone and android works perfect and communication with server over 8080 port
- identical access log for both iPhone and Android like shown below
Code:
84.202.211.27 - - [30/Dec/2014:13:13:52 +0100] "POST /mobileapp/__a5RunDialog.a5w?__dialogFilename=INDEXOFFLINEDEMO&__alias=DLG1&__unsaved=no HTTP/1.1" 200 3618 84.202.211.27 - - [30/Dec/2014:13:14:00 +0100] "POST /mobileapp/__a5RunDialog.a5w?__dialogFilename=INDEXOFFLINEDEMO&__alias=DLG1&__unsaved=no HTTP/1.1" 200 3618
CASE 2 WITH SSL
- Installs SSL godaddy certificates on Alpha Server
- ajax callback changed to https://domain/mobileapp (also tried to include port https://domain:443/mobileapp)
- used build.phonegap.com creates IOS and Android
- installed APPS on both iphone and android
RESULT CASE 2
- android works perfect and communication with server over 443 port, identical access logg as for none SSL
- iphone try to connect, no access log, only error log like shown below
Code:
[Tue Dec 30 12:55:03 2014] [warning] AcceptResult.Code 1817 AcceptResult.Text: Secure Sockets Layer OpenSSL Error - SYSCALL - The operation completed successfully. - - Error while Initializing INET::SSLSocket context
Any clue why it does not work using HTTPS(443) on iPhone, it works perfect on Android.
Kristian Hyllestad
www.spine.no