Client Platform: IOS runtime SDK 100.6 in iPad
Argis Server: 10.3
- When I using base map (https://domainName/.../MapServer/0 ) to an argis server with SSL enabled, a pop up appear with title: "Can not verify the identity of 'XXX'" and the message is: "The server's certificate is invalid. You might be connecting to a server that is pretending to be 'XXX', which could put your confidential information at risk. Would you like to connect any way?", then I choose 'Continue' but the map didn't load anymore.
- I tried to implement the AGSAuthenticationManager delegate and adding trustHostAndContinue but the map not working anymore.
-Some other information: Safri in the iPad can browse ( https://domainName/.../MapServer/0 ). and my application can connect to mapserver service published without SSL enabled.
Please help me, thank you.
Thanks for this info. I assume this is a duplicate of this question: https://community.esri.com/thread/244598-map-didnt-load-when-choose-trusthostandcontinue-on-ios
Can you share the code you used to implement the AGSAuthenticationManager delegate?
Looks like you are using the self-signed certificate on the server. Apple has updated their requirement for the certificates on the server. Please go through below link and make sure your certificate matches the requirement.
Just to try, can you add the `App Transport Security Settings` in your info.plist file with either setting the `NSAllowsArbitraryLoads = YES` or setting exception of your server with `NSExceptionAllowsInsecureHTTPLoads = YES`? Does it work?
Please refer details of setting the `App Transport Security Settings` in below link.
Hope this helps!