Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

MAFLogonCore issue with SSL

$
0
0

Hello There,

 

Registration requests are failing when using HTTPS:

 

It working fine when using HTTP or HTTPS using with Postman. I have also tried adding certificate file to simulators security store or installed the certificate into simulator still no luck.

 

I know if we are using HttpConversationManager we can add challenge filters (ChallengeFilterProtocol) to handle authentications but I don't see a way handle that for MAFLogonCore.

 

 

Can you anybody tell me how I'm supposed to handle authentication challenges related to SSL for MAFLogonCore or MAFLogonNGPublicAPI??

 

Response Receiving with MAFLogonCore:

UrlString:   https://xxx.xxxxxxxxxx.xxx:8081

Request handleNetworkEvent -> Unexpected stream event type received

CFNetwork SSLHandshake failed (-9807)

~~~~~~~~~ Connection failure! Error code:1 Description: A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)

Request #2 failed and will invalidate connection #2

Request Failed With Error Code  :0 message:  (null)

ER:Registration failed with error: Error Domain=HTTPRequestErrorDomain Code=1"A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)" UserInfo=0x7fe040fba6e0 {NSLocalizedDescription=A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate), NSUnderlyingError=0x7fe040f9d970"The operation couldn’t be completed. (OSStatus error -9807.)"}

ER:Registration failed

logonFinishedWithError:Error Domain=MAFLogonCoreErrorDomain Code=3"Could not connect to the server. Check the login data." UserInfo=0x7fe040e08600 {NSLocalizedDescription=Could not connect to the server. Check the login data., NSUnderlyingError=0x7fe040fb09c0"A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)"}

 

 

Response Receiving with MAFLogonNGPublicAPI:

 

UrlString:   https://xxx.xxxxxxxx.xxx:8081

Request handleNetworkEvent -> Unexpected stream event type received

CFNetwork SSLHandshake failed (-9807)

~~~~~~~~~ Connection failure! Error code:1 Description: A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)

Request #2 failed and will invalidate connection #2

Request Failed With Error Code  :0 message:  (null)

ER:Registration failed with error: Error Domain=HTTPRequestErrorDomain Code=1"A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)" UserInfo=0x7fbfd1e73700 {NSLocalizedDescription=A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate), NSUnderlyingError=0x7fbfd1e7de20"The operation couldn’t be completed. (OSStatus error -9807.)"}

ER:Registration failed

ER:-[MAFLogonUIBaseViewController(GeneralExtension) presentError:] Error Domain=MAFLogonCoreErrorDomain Code=3"Could not connect to the server. Check the login data." UserInfo=0x7fbfd1d38100 {NSLocalizedDescription=Could not connect to the server. Check the login data., NSUnderlyingError=0x7fbfd1e80c90"A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)"}

ER:Error: Could not connect to the server. Check the login data.


Viewing all articles
Browse latest Browse all 5512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>