Support for HTTPS web server iOS - 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'.

Related

Can I use SwiftNIO client websocket with different server websocket?

I am new to WebSocket, choosing between https://github.com/daltoniam/Starscream and SwiftNIO,
With SwiftNIO couldn't find clear guidelines, can I Use just SwiftNIO client WebSocket in iOS. and the WebSocket server will be implemented using different web technology(Java or Spring websocket)? or if I develop client using SwiftNIO does server also has to be build using SwiftNIO?
My App is iOS 10 onwards, so I can't use apple WebSocket API(>ios13)
Thanks in advance.
This package is built on SwiftNIO's WebSocket module, but gives a higher level API similar to Starscream: https://github.com/vapor/websocket-kit/
You can see example usage here: https://github.com/vapor/websocket-kit/blob/master/Tests/WebSocketKitTests/WebSocketKitTests.swift#L8-L17

WKWebView and web sites without SSL

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)?

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.

How to implement DLNA client using iOS9 or tvOS

DLNA communicates using HTTP (correct?) which is now banned by Apple's new policy.
See: Transport security has blocked a cleartext HTTP
You could set the settings in .plist file as advised above but that would require that you know all the hosts where the DLNA server listens to.
I also believe that you can not change the .plist on the fly.
Can you easily switch DLNA server to run on httpS? Is this a "standard" feature?
What is your recommendation for this problem?
BTW, would you have a good tip for DLNA C++ client with reference implementation?

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.

Resources