Hi guys,
I have a problem I'm trying to solve for some days.
I'm trying to load some content in a webview and I have an HTTPS url that should be loaded.
My problem is that I receive this error:
Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “myURL.amazonaws.com” which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x170119a10>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=(
"<cert(0x101088e00) s: myURL.amazonaws.com i: myURL.amazonaws.com-CA>"
Do you have any idea how could I make this work?
Thank You,
Mihai.