Linked Questions
20 questions linked to/from UIWebView to view self signed websites (No private api, not NSURLConnection) - is it possible?
27 votes
4 answers
31k views
Ignoring Invalid Server Certificates with UIWebView [duplicate]
We have an iOS app that uses a UIWebView to display content. We load it up with data with code that looks like this: NSURL *url = [NSURL URLWithString:myURLString]; NSURLRequest *request = [...
0 votes
0 answers
649 views
UIWebView The certificate for this server is invalid [duplicate]
I have met a trouble ,when i load an url by UIWebView an alert show .I get this error message:"error Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be ...
570 votes
16 answers
1.7m views
Using openssl to get the certificate from a server [closed]
I am trying to get the certificate of a remote server, which I can then use to add to my keystore and use within my Java application. A senior dev (who is on holidays :( ) informed me I can run this: ...
28 votes
7 answers
71k views
Allow unverified ssl certificate in UIWebview
I'm embedding a website in a UIWebView. During development I have it pointed at localhost. The problem is that whenever it hits a "https://" url it doesn't load. When I load the url in mobile safari I ...
7 votes
3 answers
25k views
Switching from http to https. Invalid certificate
I have an app that connects to my home routers web interface. I want to convert this to use https instead of just http. I was originally using ASIHttpRequest, but as it's no longer supported i'm ...
11 votes
2 answers
22k views
Bypass kCFStreamErrorDomainSSL error for self-signed certificates on iOS 7
I am trying to load a HTTPS web page, which has a self-signed certificate, in to an UIWebView. Using tips like this one, or this one, it works under iOS 6. The same does not work in iOS 7. As per the ...
2 votes
3 answers
11k views
in UiWebView - NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -108)
When I open a link in UIWebView and click on facebook icon of content of that URL it gives the following error 2014-01-09 13:15:14.412 AppName[2067:5407] CFNetwork SSLHandshake failed (-108) 2014-01-...
2 votes
1 answer
11k views
Loading HTTPS in UIWebView
I have a page with UIWebView, it was working well until recently some of the redirection changed, with the URL from HTTP to HTTPS. The page could not be displayed. Error logged: Error Domain=...
0 votes
2 answers
2k views
Call iOS webview HTTPS (self-signed certificate)
I want to call HTTPS url (self-signed certificate) in my iOS App. it works on the mobile browser but not in the App Webview. Is there a solution for Xcode 7 and Swift 2.2? override func ...
1 vote
3 answers
3k views
Need to view website with a self-signed certificate and http authentication
I am having trouble viewing a website that has a self-signed certificate and also requires HTTP authentication. Currently I am trying to implement it by using How to display the Authentication ...
10 votes
0 answers
3k views
Unable to load HTTPS pages in UIWebView with redirection [iOS 9]
I am trying to load a https:// webpage using UIWebView in iOS 9+ and it's giving following error : NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802) CFNetwork ...
6 votes
1 answer
2k views
Xamarin way to open self signed certificate webpage in UIWebView
As the question title described, I want to open a self signed webpage within an UIWebview (Xamarin.iOS) By default, self signed webpages do not load in an UIWebView. Important requirements for the ...
6 votes
0 answers
3k views
Load self signed https url using UIWebview and NSURLSession
I'm trying to load a self signed website. I know I can use NSURLConnection to give credential by using this code UIWebView to view self signed websites (No private api, not NSURLConnection) - is it ...
1 vote
2 answers
2k views
can't load https in UIWebView
I have a problem with loading UIWebView, using https request. I have read some related answers, but they have confused me even more. Here is my code: The link, I'm using below will redirect to ...
2 votes
0 answers
2k views
How to load an URL in UIWebView with self-signed certificate?
My app has a UIWebView and it should open a website that contains SSL. If I open such a website I get an error displayed and after that I still want open that website. I found a lot of stuff but ...