WKWebView and web sites without SSL - ios

Please note that this question is referring to Codename One apps only.
It seems that the current version of BrowserComponent (for iOS) can open websites served with https only, while http is not supported. Is it so? Could it be circumvented (with Codename One)?

Related

Got an error when trying to get the geolocation in safari on iOS 10

[blocked] Access to geolocation was blocked over insecure connection to http://www.hnsjb.cn.
Should I change my website to the https protocol?
iOS 10 and also desktop Safari 10 seem to require https connection now. Safari also seems to be more strict than what Chrome did earlier. No mixed content warnings are allowed, Chrome allows e.g. map tiles to load over normal http.
I could not find any guideline specific to Safari, but this issue has been discussed by other web browsers as well.
In particular, the announcement about Google Chrome blocking geolocation over an insecure connection, published on developers.google.com in April 2016, under the last paragraph “I really need to use Geolocation. What should I do?”, advises:
If you would like to use the HTML5 Geolocation API, or if your site already uses the Geolocation API, please migrate the pages making Geolocation API calls to HTTPS, ensuring that they’re used in a secure context.

Support for HTTPS web server iOS

I have used GCDWebServer for an http server on iOS. However, by the end of the year https will be required. Is there another web server library compatible with https for IOS? I have no idea what is involved with a change like this.
This library supports https -
https://github.com/robbiehanson/CocoaHTTPServer
Although its old but very reliable. Our company have been using it for over 4 years and currently we are in process of switching to 'https'.

SSL Implementation for iOS app

I have been developing iOS for years but this is my first time building a backend for an app, so SSL subject matter isn't a strong point for me.
I have installed a SSL certificate on my IIS 8.0 (Server 2012). I have confirmed that the https endpoint is functioning properly.
My question: Is there anything I have to do in my iOS application (using RestKit 0.2 for server communication) other than change the endpoint from http to https? I'm not sure when I consider the traffic going to the server to be "secure". Bit of a noob question I know but, I don't want to miss something simple on the iOS side and think everything is secure when it is not.
Thanks for any help.

HTTPS url not valid

I created an app to be used in a page tab. I have it hosted on my server which has a SSL protocol associated. However, the https url hasn't the usual naming (you can see it below):
https://secure395.websitewelcome.com/~rexdot/discoverylocker/
Is there any reason FB doesn't accept this? I'm sure this is the https url, it was given from my server support. And I'm also sure the app is there and fully working.
Thanks!
according to hostgator only solution is to pay for your own SSL. I've used other hosting services with reseller accounts and never had this issue before. In fact, the apps were running fine on those shared SSL certs from other companies.
So, one big reason why hostgator is not the way to go... their shared SSL is for websitewelcome.com which has been flagged as spam.

Blackberry ignore ssl certificate

My Blackberry application is connecting to a web server via HTTPS.
However, The SSL certificate of the server is invalid.
I would like to know how to ignore the ssl error on my Blackberry application?
I knew with Android you could overwirte the onReceivedSslError method of Android's api to over come this problem. I don't know if there is some way to do it on Blackberry.
Thanks in advance!
I know of several BlackBerry developers who have expressed concerns over this issue.
While the user can adjust her device security settings to not be notified of SSL certificate issues, there doesn't seem to be a way of doing this programmatically from either inside your application through API, nor through some sort of declaration in the application's .jad file.
Based on the documentation here http://www.blackberry.com/developers/docs/7.1.0api/javax/microedition/io/Connector.html#tls, I just add ";EndToEndDesired" to the connection string. And it works! :)

Resources